Function MaxLine() Foundation

Determines the longest line in a (formatted) string.

Syntax
MaxLine( <cString> ;
       ) --> nLineLength
Return

Returns the length of the longest line in a (formatted) string as a numeric value.

Description

Any character but Chr(13) and Chr(10) is counted. If a tab (Char(9)) is contained in a string it should be converted to spaces before MaxLine() is called. This can be accomplished with TabExpand().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.