
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - expand(<c string> [,<n spaces>])
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EXPAND(<C string> [,<N spaces>])
Displays a string across an entire area that is wider than the string.
Returns <expC> <string> with <spaces> between each character.
<spaces> are the number of spaces to insert between characters in <string>.
The default is 1 space if not otherwise specified.
A new word is considered to begin when an alpha character follows
either a space or hyphen.
EXPAND("Tom Rettig's Library") && default 1 space
returns "T o m R e t t i g ' s L i b r a r y"
EXPAND("Library", 4)
returns "L i b r a r y"
Hazard
Although there is no fixed limit on the number of spaces you
can specify, there must be enough memory available to hold the
entire return string with the spaces inserted.
Placed in the Public Domain by Tom Rettig Assoc.
See Also: CAPFIRST() CENTER() CHRSWAP()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson