home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
dbase
/
techs.arc
/
TECH13.ARC
/
READ.ME
< prev
Wrap
Text File
|
1980-01-01
|
916b
|
27 lines
PROGRAM NAME: Capstr.PRG
DESCRIPTION: Routine to capitalize the first letter of words in
a character string.
ISSUE: July, 1985
PAGE: 30
SOFTWARE VERSIONS: dBASE III, versions 1.0, 1.1
FUNCTION: The following routine takes a character string passed
as a parameter and returns the string with the first letter of
each word capitalized. The words "a," "an," "and," "for," "in,"
"or," and "the" are not capitalized unless they are the first
word in the string.
FILES NEEDED: Capstr.PRG
SETUP INSTRUCTIONS: Type DO Capstr WITH <string>, where string
is the variable that you want to capitalize. If the PARAMETERS
statement is used to pass the character string both in and out of
this routine, the parameter passed must be a memory variable and
not a literal string. Additionally, avoid using the memory
variable alias "M->." It is not currently supported as a valid
parameter.