xHarbour Reference Documentation > Function Reference |
Returns the longest line in an ASCII formatted character string.
MaxLine( <cText> ) --> nMaxLineLength
The function recognizes Chr(13) and Chr(10) as end-of-line markers and counts all other characters. It returns the largest number of characters found in a single text line as a numeric value.
Note: the tab character (Chr(9)) is counted as a single character. If it exists in a text string, the text should be converted with TabExpand() before MaxLine() is called.
See also: | MlCount(), NumLine(), TabExpand() |
Category: | CT:String manipulation , Character functions |
Source: | ct\maxline.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com