TrimRight

Top  Previous  Next

Prototype

 

StrOutput:=TrimRight(strInput)

 

Description

 

Returns a string similar to the shown one without final spaces, if present.

 

Parameters

 

StrInput:  input string.

 

Returned value

 

StrOutput:  output string.

 

Notes

 

None.

 

Example

 

Example

 

// Initialize a value

StringValue:=' 10   ';

 

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

TrimmedValue:=TrimRight(StringValue);