NxsString & NxsString::NumberThenWord ( unsigned  i,
NxsString  s 
) [inline]

Creates a new string (and returns a reference to the new string) composed of the integer `i' followed by a space and then the string `s'.

If `i' is not 1, then an 's' character is appended to make `s' plural. For example, if `i' were 0, 1, or 2, and `s' is "character", then the returned string would be "0 characters", "1 character" or "2 characters", respectively. Obviously this only works if adding an 's' to the supplied string makes it plural.

Definition at line 568 of file nxsstring.h.

 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:13 2010 for NCL by  doxygen 1.6.3