XML Script logo
Trim - Example of usage
Code
Whitespace on either side of a value: # trim('  willow 	') #
On one side: # trim('willow  ') #
Value only whitepace: # trim('  	') #
Sentence and numbers: # trim(' hello this is a 6 word sentence') #
Output
Whitespace on either side of a value: willow
On one side: willow
Value only whitepace: 
Sentence and numbers: hello this is a 6 word sentence
Ref

x.7205

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited