next up previous 264
Next: astChrMatchN - Case insensitive string comparison of at most N characters
Up: AST Memory Management and Utility Functions
Previous: astChrLen - Determine the used length of a string


astChrMatch - Case insensitive string comparison

Description:
This function compares two null terminated strings for equality, discounting differences in case and any trailing white space in either string.
Synopsis:
int astChrMatch( const char $*$str1, const char $*$str2 )
Parameters:
str1
Pointer to the first string.
str2
Pointer to the second string.
Returned Value:
astChrMatch()
Non-zero if the two strings match, otherwise zero.
Notes:
  • A value of zero is returned if this function is invoked with the global error status set or if it should fail for any reason.


next up previous 264
Next: astChrMatchN - Case insensitive string comparison of at most N characters
Up: AST Memory Management and Utility Functions
Previous: astChrLen - Determine the used length of a string

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