[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FUNCTION CRUNCH()
Short:
------
CRUNCH() Moves spaces in a string to end of string
Returns:
--------
<cCrunched> string with spaces moved to end
Syntax:
-------
CRUNCH(cOriginal,nAllor1)
Description:
------------
Moves spaces to end of string <cOriginal>. If
<nAllor1> = 1, moves all but single spaces to right end of the
string. If <nAllor1> = 0 moves all spaces to the right end.
Examples:
---------
cString := "SUPER Library version 2.50"
cString := CRUNCH(cString,1) // "SUPER Library version 2.50 "
cString := CRUNCH(cString,0) // "SUPERLibraryversion2.50 "
Notes:
-------
Handy for names (i.e. FIRST and LAST)
Source:
-------
S_CRUNCH.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson