NxsString & NxsString::ShortenTo ( unsigned  n  ) 

Shortens stored string to `n' - 3 characters, making the last three characters "...".

If string is already less than `n' characters in length, this function has no effect. This is useful when it is desirable to show some of the contents of a string, even when the string will not fit in its entirety into the space available for displaying it. Assumes that `n' is at least 4.

Definition at line 622 of file nxsstring.cpp.

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