programming.nbk: Home | Index | Next Page: Pascal string function:Pos(srch, str) | Previous Page: Pascal string function:Insert(src, dest, pos)


 Pascal string function:Length(str)

This function returns the length of the string argument in characters. For a string constant, this is the number of characters in the constant. For a string variable, it is the number of characters currently stored in the variable. Length gets its value from the special length byte kept at the zeroth index of every string. It is similar to the Watcom Strlen function.


programming.nbk: Home | Index | Next Page: Pascal string function:Pos(srch, str) | Previous Page: Pascal string function:Insert(src, dest, pos)


Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time