-=> Quoting Sam Paulson to All <=-
SP> with. I need one to trim the spaces off the beginning and
SP> end of a string, and I need one that will properly capitalize
SP> a persons name. Something along these lines:
PB 3.1 has functions included for trimming the string. RTRIM$
will remove the "right" or trailing blanks (or other things if
you use the options) and LTRIM$ will remove the "left" or
leading blanks. So you can write a TRIM$ function which merely
does a LTRIM$(RTRIM$(a$)). Sorry, I'm too lazy to work on a
capitalization function at this moment ;-) I'm betting you'll
get some nifty responses to that question here shortly ;-)
-- Regards --
--- Blue Wave/Max v2.12
---------------
* Origin: RASCAL BBS [Calgary, Alberta - (403)686-2550] (1:134/122)
|