QTIPS - NameCap
Published By | Date | Version | Knowledge Level | Keywords |
---|---|---|---|---|
Sprezzatura Ltd | 01 AUG 1989 | 1.14+ | EXPERT | NAMECAP |
The system subroutine NAMECAP can be used for a quick and dirty conversion to change uppercase strings to lowercase with an initial uppercase letter on each word. This is useful in name fields, address fields and general bulk data conversions.
To use, simply load @ANS with the string to be converted and call NAMECAP E.g.
@ANS="LOUISE BOETHIUS" CALL NAMECAP PRINT @ANS
would print "Louise Boethius".
(Volume 1, Issue 4, Page 3)