Remove a character "." in a string

Hi everyone,
I need to get the number of a table in SAP, i am using the get text activity, the activity’s output is a string and i need convert that string in a integer to operate with it in the next step.
The problem is, when i try to convert that number in integer, the character “.” causes the problem.
In the example.
number = Cint(string)
What i need : 99640
What i get: 100
Captura Captura2 3
If anyone can tell me how to remove the “.” character i will whank you very much.

Col = col.replace(".","")

Give that a go!

2 Likes

Here you go
col = cint(material.Replace(".", ""))

1 Like

Maybe this could help you:

:slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.