-
Declaration:
- Function Length (S : String) : Integer;
-
Description:
- Length returns the length of the string S, which is limited to 255 for shortstrings. If the
strings S is empty, 0 is returned.
Note: The length of the string S is stored in S[0] for shortstrings only. The Length fuction
should always be used on ansistrings and widestrings.
-
Errors:
- None.
-
See also:
- Pos (546)
Listing: refex/ex36.pp