with textfunc i'm reading a textfile line by line with an LineRead loop.
every line is searched by WordFind for the third word, delimiter is space (" ")....
loop:
IntOp $R0 $R0 + 1
${LineRead} "$R9\$R2" $R0 $R3
IfErrors end
...
${WordFind} $R3 " " "+3" $R4now, when the third word is the last one in this line (most common case), it includes the following carriage return and line feed.the WordReplace macro failes, this doesn't work:
"${WordReplace} $1 "$\r" "" "+" $1is there a way to fix this?ps: the posted codes are just some lines out of many. hope, it will help you with helping me 🙂
pps: the whole thing is inside the callback function of a ${Locate} macro (FileFunc header), but this should not cause the problem