I want to know if there is a comma in a string and if yes replace it with a dot ".". I could probably figure this out by myself but i'"m to tiredor lazy;)
Printable View
I want to know if there is a comma in a string and if yes replace it with a dot ".". I could probably figure this out by myself but i'"m to tiredor lazy;)
Use the Replace function.
VB Code:
Replace YourString, "," , "."
How about using the Replace() function?
VB Code:
str = Replace(str, ",", ".")
thanks I didn't knew that function