Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a string in which I'd like to replace commas with a dot. Normally in VBA you would use:
Dim s As String s = "15,6kg" s = Replace(s, ",", ".")
Except that I get a syntax error on the replace function. Pretty weird, because it is listed as function in the Inventor VBA object browser. Auto correct also makes the r from replace lower case so it somehow doesn't recognize it.
It seems with iLogic a similar syntax is working:
So am I doing something wron or is this a bug?
Solved! Go to Solution.