Documentation Home Scripting Reference Functions And Procedures String Functions Length Length Length returns the number of characters in the given string S. All characters in the string are counted, including any special characters such as spaces.Declaration: function Length(S: string): Integer;Example procedure OnMapEvent(var Value:Variant); begin //Returns 62 Value := Length('Now another day is breaking, Sleep was sweet and so is waking.'); end; LeftStr LowerCase