How to remove white space between to individual integer values

hi
i had a problem in 1716538143 12250 this part how to remove the empty space between this two integer values

Hi @vivekktr,
You can use regex. For example like this:


image

1 Like

@vivekktr
If it is a String you can also do var = var.Replace(" ","") which replaces all space characters with nothing, which just deletes them.

3 Likes

Hello @vivekktr
One more possible solution
You can convert int to string then use @vivekktr suggest.

Thanks

Hi @vivekktr,
1.If it is in string format then you can replace the white space with empty like this…
str = str.Replace(" “,”")
2.If those to are separate integer values then convert each into string and append them and reconvert into integer.
str=integerName1.tostring + integerName2.tostring
Result(Int datatype) = Convert.toint32(str)
If you have any queries let me know.
Cheers
Vashisht.