Einzelnen Beitrag anzeigen
Alt 31.05.2007, 17:14   #19
RKabis
Registrierter Benutzer
Beschreibung vorhanden OSA FORENAME

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

Liefert das erste Wort oder Vornamen in einem String.
Returns the first word or forename in a string

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

This function returns a string composed of the first word (effectively
the forename) of a string passed to it.

S y n t a x

Code:
answer = call ('FORENAME' , A)
P a r a m e t e r

A - is any string or constant

R e t u r n s

Returns a string variable, the length set to the first word.

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

Code:
attach 'string'
put call ('FORENAME' , 'Test String' ) ! prints Test
a = 'Theo P Wildebeest'
b = call ('FORENAME' , a) ! b contains 'Theo'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e

INITIALS
SURNAME
LEFT
Angehängte Dateien
Dateityp: oac STRING.OAC‎ (15.5 KB, 2x aufgerufen)
Dateityp: zip string.zip‎ (9.9 KB, 2x aufgerufen)
RKabis ist offline   Mit Zitat antworten