Source language: Translate to:

StrReplace "|" without going to the line

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

StrReplace "|" without going to the line

Postby Alex » Fri Mar 23, 2012 9:29 am

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]
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Neosoft Support » Fri Mar 23, 2012 10:30 am

Try this:

StrReplace "[sub]" "=!=" "|" "[sub]" ""
FileWrite "!C:\Temp\TEST.txt" "All" "![sub]"
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby Alex » Fri Mar 23, 2012 11:16 am

Hi Dave,

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

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 2 guests