ph_getline PowerHome formula function
Description
Parses a string containing lines of data separated by cr/lf characters.
Syntax
ph_getline ( data, local )
Argument Description
data String. The string containing the data to parse.
local Integer. A value from 1 to 10 representing a LOCAL variable. This value contains the start position to start searching for the line. This local will also be updated with the new start position.
Return value
String. Returns a single line of data parsed from a string containing multiple lines of data delimited by cr/lf pairs. The local variable specified in the second parameter (a value of 3 specifies [LOCAL3]) should contain the starting position of the line to parse. This initial value contained within the local variable should be initially set to 1. Subsequent calls will update the local variable with the new start positions.