|
|
|
|
|
LineToPosition (Function) In french: LigneVersPosition Returns the position of the first character of a line in a block of text.
// Initialize a multiline string s is string = [ AA BB CC ]
// the function returns 1 LineToPosition(s, 1) // the function returns 5 LineToPosition(s, 2) // the function returns 9 LineToPosition(s, 3)
Syntax
<Result> = LineToPosition(<String> , <Row>)
<Result>: Integer Position of the first character in the specified line. <String>: Character string (with quotes) Character string to use. <Row>: Integer Number of the sought line. Remarks - The line separator is the CR character (Carriage Return). It corresponds to 2 characters.
- The characters that constitute the line separator are considered as belonging to the previous line.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|