www.icetips.com  Icetips Utilities Documentation 11/30/2010    

Utility Class: FirstNonSpace

Previous  Top  Next  


Prototype:  (String pS),Long

 

pSString to check

 

ReturnsThe 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.

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/firstnonspace_utility.htm