Next: astChrMatch - Case insensitive string comparison
Up: AST Memory Management and Utility Functions
Previous: astChrCase - Convert a string to upper or lower case
astChrLen
-
Determine the used length of a string
- Description:
- This function returns the used length of a string. This excludes any
trailing white space or non-printable characters (such as the
trailing null character).
- Synopsis:
- size_t astChrLen( const char
string )
- Parameters:
-
string
-
Pointer to the string.
- Returned Value:
-
astChrLen()
-
The number of characters in the supplied string, not including the
trailing newline, and any trailing white-spaces or non-printable
characters.
Next: astChrMatch - Case insensitive string comparison
Up: AST Memory Management and Utility Functions
Previous: astChrCase - Convert a string to upper or lower case
AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk
Copyright (C) 2009 Science \& Technology Facilities Council