next up previous 264
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 up previous 264
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
25th February 2013
E-mail:starlink@jiscmail.ac.uk

Copyright (C) 2014 Science \& Technology Facilities Council