Replace everything except numbers in a string vb6
问题 well i did my research and seen a lot of posts about this but couldnt find a solution in VB6 so how can i do this in VB6 ? lets say i got a string like: " Once upon a time there was a little kid who wonders about going further than 1000 of miles away from home... " i want to get only numbers " 1000 " in this string seperated from string and wanna replace the whole string but numbers should stand still. 回答1: The simplest way is to walk the string and copy numbers to a new one: Function