I'm trying to get information from a .txt file:
function1(par1, par2)
function2(par1)
function3(par1, par2, par3)
I would like to get for example for the first line "function1" as a string, "par1" and "par2" as strings.
I now it is possible to extract a pattern from a string, but I would like to know if it was possible to get a substring using the index of its caracters.
For example as in Python :
$function = $row[0:8]
would get me "function1"
Thanks,
SLP