>Nice
>
> Suppose I don't know the line number
> Is it possible to retrive the number of the line
> is the expression is ?
>
>
> Supose I want to replace "carlos" with "jonh"
> but I don't know that Carlos is in line #4
> as below
>
> eretrrtrtrtrtrt
> 34354545454454ddd
> 343434343
> carlos
> xxxxx
> ererer
>
>
StrToFile(StrTran(;
FileToStr('myFile.txt'),'carlos','john',1,1,1),'myFile.txt')
PS: Also you can use _mline,memlines(), atline(), atcline() etc function on a string.
Cetin