Remove blank spaces from a string

Hi team,

how to remove blank spaces that are present in the beginning of the string ?

I am currently using Text.Replace(" “,”") it is removing the spaces which are present after the string value and not the space which is present at the beginning .

Example String Value : " 1234"
Required String Value : “1234”

Hi @Aishwarya ,

Just put “\ .” instead of “,”
or
.TrimEnd(" “c).TrimStart(” "c)

Please let me know whether this works for you or not

It worked, thanks a lot

1 Like

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