Einzelnen Beitrag anzeigen
Alt 06.06.2007, 19:10   #29
RKabis
Registrierter Benutzer
Beschreibung vorhanden OSA SURNAME

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

Liefert das letzte Wort (Nachname) von einem String.
Returns the last word (surname) of 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 last word (effectively
the surname) of a string passed to it.

S y n t a x

Code:
answer = call ('SURNAME' , string)
P a r a m e t e r

string - is any string or constant

R e t u r n s

Returns a string variable, the length set to that of the last word.

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

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

FORENAME
INITIALS
RIGHT
Angehängte Dateien
Dateityp: oac STRING.OAC‎ (15.5 KB, 2x aufgerufen)
RKabis ist offline   Mit Zitat antworten