Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_rtstr() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_RTSTR()

 DESCRIPTION

 C_RTSTR() right justifies a given character string maintaining the
 string's length.  The space removed from the end of the string is
 placed at the beginning to maintain the length.

 SYNTAX

 C_RTSTR(string)

 PARAMETERS

 string (C) is the character string to right justify.

 RETURNS

 C_RTSTR() returns a character string.

 EXAMPLES

 s1 = "Right Justify String      "

 ? len(s1) --> 26         && Length of string is 26

 r1 = c_rtstr(s1)         && Right justify string

 ? r1 --> "      Right Justify String"  && Ending spaces are now at beginning

 ? len(r1) --> 26         && Length is still 26


See Also: C_LTSTR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson