Einzelnen Beitrag anzeigen
Alt 09.10.2012, 22:58   #67
leecher
Moderator
INITCAPS

E r g e b n i s / R e s u l t

Convert the text string to have INITIAL CAPITALS

B e s c h r e i b u n g / D e s c r i p t i o n

This language call contains 3 string functions which can be used
within Database, Spreadsheet, or OAIII Programmer/Compiler.
These functions can be used to change the format of a text string.
Maximum characters that can be input is 128.

S y n t a x

Code:
capstr = call ('INITCAPS' , str)
P a r a m e t e r

str - String where the first character gets capitalized.

R e t u r n s

A copy of the string str with the first character capitalized.

B e i s p i e l / E x a m p l e

Code:
attach 'CAPS'
put call ('INITCAPS' , 'abcde') ! returns Abcde
detach 'CAPS'
Angehängte Dateien
Dateityp: oac CAPS.OAC‎ (14.0 KB, 2x aufgerufen)
Dateityp: zip caps.zip‎ (20.9 KB, 2x aufgerufen)
leecher ist offline   Mit Zitat antworten