Length

Top  Previous  Next

Prototype

 

IntLen:=Length(strString)

 

Description

 

Returns string length into characters.

 

Parameters

 

StrString: string to work on.

 

Returned value

 

IntLen: integer that shows the string length.

 

Notes

 

None.

 

Example

 

// Initialize a string

Value:='TEST';

 

// This make sure the Value string is padded with spaces to have a size of 10 character

While Length(Value)<10 do Value:=' '+Value;