07-29-2015, 06:17 AM
I wrote the following code to find a line with a certain string content in a multi-line string. It works.
Member function str.getLine
Nevertheless, I wonder whether there exists already something that I miss.
Thanks in advance.
Member function str.getLine
function str'strLine
str s
int i
foreach s this
,if StrCompare(s strLine)=0; ret i
,i=i+1
ret -1
Nevertheless, I wonder whether there exists already something that I miss.
Thanks in advance.