Page 1 of 1

StrReplace "|" without going to the line

PostPosted: Fri Mar 23, 2012 9:29 am
by Alex
Hi,

Is it possible for example to replace:

Code: Select all
StrReplace "[sub]" "=!=" "|" "[sub]" ""
FileWrite "!C:\TEST.txt" "All" "[sub]"


without the "|" is "go to line"?

I mean that I only want the "|" character and not the go to line.

I tried: StrReplace "[sub]" "=!=" "[#124]" "[sub]" "" but it does the same.

Thanks


Alex[/quote]

PostPosted: Fri Mar 23, 2012 10:30 am
by Neosoft Support
Try this:

StrReplace "[sub]" "=!=" "|" "[sub]" ""
FileWrite "!C:\Temp\TEST.txt" "All" "![sub]"

PostPosted: Fri Mar 23, 2012 11:16 am
by Alex
Hi Dave,

Thanks for the answer. I didn't know that command.

Thanks


Alex