Trim

Top  Previous  Next

Prototype

 

StrOutput:=Trim(strInput)

 

Description

 

Returns the input string but without spaces at beginning and end.

 

Parameters

 

StrInput:  input string.

 

Returned value

 

StrOutput:  output string.

 

Notes

 

None.

 

Example

 

// Initialize a value

StringValue:=' 10   ';

 

// Delete spaces from the string: the result is '10'

TrimmedValue:=Trim(StringValue);