10-01-2016, 04:37 AM
In the meantime and after further thinking, I concluded that this technique might be better :
where :
sl : the initial string
sk: the string corresponding to the first column
sln : a new string with the rows which they meet the "find" criterion.
I am still looking forward for comments.
int il=-1
str sln
foreach s sk
il=il+1
if(sEdit.len and find(s sEdit 0 1)<0) continue
_s.getl(sl il)
sln.formata("%s[]" _s)
g.FromCsv(sln ":")
where :
sl : the initial string
sk: the string corresponding to the first column
sln : a new string with the rows which they meet the "find" criterion.
I am still looking forward for comments.