|
Previous Top Next |
Prototype: | (String pS),Long |
pS | String to check |
Returns | The first non space character position in the string pS |
This method uses the internal StrSpn function to find the first non-space character in the string passed as pS. For more information about StrSpn please refer to the web, for example http://www.cplusplus.com/ref/cstring/strspn.html
Example:
S String(255)
I Long
ITU ITUtilityClass
Code
S = ' This is a string'
I = ITU.FirstNonSpace(S)
In this case I would be equal to 2.