Einzelnen Beitrag anzeigen
Alt 06.06.2007, 19:12   #30
RKabis
Registrierter Benutzer
Beschreibung vorhanden TRIM

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

Löscht führende und abschließende Leerstellen aus einem String.
Remove leading and trailing blanks from 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 where all leading or trailing spaces
have been removed.
This function is identical to the Open Access TRIM Programmer function.
It has been provided for users of the Database Screen and Print forms.

S y n t a x

Code:
answer = call ('TRIM' , 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.

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

Code:
attach 'string'
put call ('TRIM' , ' Test String') ! prints Test String
a = ' AA Aerospace '
b = call ('TRIM' , a) ! b contains 'AA Aerospace'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e
RKabis ist offline   Mit Zitat antworten