Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>trailchar() - replace trailing spaces with a character</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     trailchar() - replace trailing spaces with a character
  Usage:    <string> = trailchar(<string>,<char>)
  Params:   string <string> - the string to scan
            char <char> - the character to replace spaces with
  Returns:  a string equal to <string> with all trailing spaces
            replaced with <char>

 ---------------------------------- Example ---------------------------------

                 ? trailchar("A string        ",".")
                 * prints A string........

                 use orders
                 seek m_item

                 ? trailchar(item,".")+leadchar(str(price),".")
                 * could print:
                 * Widgets....................3.28


See Also: leadchar() ljust() rjust() untrim() center()

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