Converts a value to a string.
StrValue := String(Value)
Type: String
This function returns the result of converting Value to a string, or Value itself if it is a string.
If Value is a number, the default decimal formatting is used.
If Value is an object, the return value is the result of calling Value.ToString(). If the object has no such method, a MethodError is thrown. This method is not implemented by default, so must be defined by the script.
Result := StringValue.StartsWith(Token , CaseSense)
Returns 1 (true) if the string begins with Token, or 0 (false) otherwise. CaseSense selects the comparison mode and follows InStr: omitted or Off is case-insensitive, On is case-sensitive, and Locale compares according to the current user's locale. Both On and Off are culture-invariant.
Result := StringValue.EndsWith(Token , CaseSense)
Returns 1 (true) if the string ends with Token, or 0 (false) otherwise. CaseSense is as for StartsWith.
Keysharp string functions, Type, Integer, Float, Values, Expressions, Is functions