Hi,
I want to read spaces between characters.
Ex.- J A Y E S H : In this case I want to read the spaces in between J A Y E S H.
Please give me a suggestions.
@ClaytonM @palindrome
Hi,
I want to read spaces between characters.
Ex.- J A Y E S H : In this case I want to read the spaces in between J A Y E S H.
Please give me a suggestions.
@ClaytonM @palindrome
Hi.
What do you mean… do you want the number of spaces in the string?
Yes, I want to know the same. @ClaytonM
I did this using Regex.Matches().Count and it returned 5

System.Text.RegularExpressions.Regex.Matches(variable.Trim,"\s").Count
Great…
It’s worked for me.
Thanks @ClaytonM