QTIPS - NameCap

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 AUG 19891.14+EXPERTNAMECAP

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)