|
|
|
|
|
ExtractLine (Function) In french: ExtraitLigne Extracts a specific line from a character string. // Extract line 5 from the "test.txt" file sContent is string = fLoadText("C:\test.txt") sLine5 is string = ExtractLine(sContent, 5)
// Extract line 5 from the EDT_Info multiline Edit control sLine5 is string = ExtractLine(EDT_Info, 5)
Syntax
<Result> = ExtractLine(<Initial string> , <Line number>)
<Result>: Character string - Content of the extracted line.
- EOT if the line number is unknown.
<Initial string>: Character string Character string in which the line is searched for. <Line number>: Integer Number of the search line. This line number is between 1 and the total number of lines in <Initial string>. Lines are split by carriage returns (CR). Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|