Hello Team,
i have 2 strings;
- Hello Xyz How are you
2)Hello PQR How are you
How can we remove extra whitespaces from these strings,
Please guide
Hello Team,
i have 2 strings;
How can we remove extra whitespaces from these strings,
Please guide
i guess editor is not allowing me to insert extra whitespaces,
i want to know if the whitespaces between words are not fixed and if i want to remove those.
IT works as i have told you below no matter the number of spaces it has between wordsβ¦
Hello,Thanks for you reply,
Expected OP: Hello XYZ How are you?
Then do the A.Replace(Environment.NewLine,ββ)
Can you send me workflow,im not getting you
The following will remove space at the beginning and the end of MyString and will limit any space sequence inside to one space only.
MyString = System.Text.RegularExpressions.Regex.Replace(MyString.Trim, "\s+", " ")
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.