Equinox Online Help - Language Reference - A to Z

Home

Maxlen

Applies to
SyntaxMaxlen(StringItem)
Action[Function] Returns the maximum length of a string data item.
ScopeUsable anywhere.
Notes

This returns the maximum defined length of the argument, StringItem. This is the length that was set when StringItem was defined.

CategoryString handling
See Also ChrList, Chrs, Compare, Fill, IsNumber, Left_Function, Len, Match, Mid_Function, Remove, Replace, Right_Function], Search_SearchNext, SetLen, SetMaxLen, SortOrder, SubstituteData
Example

This example displays the value 10 on a dialog.

string s(10)

Alert Maxlen(s)