Hi all,
Can anyone tell me how I can find the position of the first character in a dynamically generated string, which has empty spaces preceding the 1st character.
For eg.,
" Hello World".
Here, the string Hello World is dynamic and in real time can be any string which the user might not know. In that case, how do I find out the position of the first character or find the number of spaces existing before I encounter the 1st character ?