Einzelnen Beitrag anzeigen
Alt 31.05.2007, 17:17   #20
RKabis
Registrierter Benutzer
Beschreibung vorhanden OSA INITIALS

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

Liefert die Initialen in einem String.
Returns the initials 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 initials of a string
passed to it.
It ignores the first and last word of any string passed to it and
returns what's left. This may be nothing, then a zero length string
is returned.

S y n t a x

Code:
initials = call ('INITIALS' , 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 of the initials.

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

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

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