Contents | Index | < Browse | Browse >
usage: SPACE(string,n,[pad])

-reformats the string with n spaces/blanks between each pair of words
-a pad character will be used instead of blanks if given
-specifying n as 0 will remove all blanks
-failing to supply the "n" argument is the same as providing "0". All blanks are removed.
-see also Compress() and Strip()

Examples:
say space('w1 w2 w3 w4') returns ---> w1w2w3w4
say space('w1 w2 w3 w4',2,'##') returns ---> w1##w2##w3##w4