cyberchief Posted September 19, 2006 Report Share Posted September 19, 2006 I am sure there is a way to do this... maybe Joe or Kevin or Jason can chime in here (or anyone else for that matter)... I need to replace all CR/LF with, say, an * rather than removing them outright. I want all CR/LF removed... but I need something there as a marker to show me there was a CR/LF there. Any ideas? Quote Link to comment Share on other sites More sharing options...
cyberchief Posted September 19, 2006 Author Report Share Posted September 19, 2006 Got it figured out... nevermind Quote Link to comment Share on other sites More sharing options...
joe Posted September 19, 2006 Report Share Posted September 19, 2006 That was fast Chief! Quote Link to comment Share on other sites More sharing options...
cyberchief Posted September 19, 2006 Author Report Share Posted September 19, 2006 Not really.. my idea didn't work... I was thinking using the text file process... but my information is not in a text file... it is in a variable. Ok, open to ideas again. Quote Link to comment Share on other sites More sharing options...
joe Posted September 19, 2006 Report Share Posted September 19, 2006 Hello Chief! Create a CR/LF string: // Create a CR/LF string (ASCII 13 + ASCII 10) Variable Set %T10% to ASCII Char of 010 Variable Set %T13% to ASCII Char of 013 Replace "%T13%" with "%T13%%T10%" in %T13% <REM2:Create a CR/LF string (ASCII 13 + ASCII 10)><ASCIIC:10:1:010><ASCIIC:13:1:013><TMVAR2:21:13:00:000:000:%T13%%T13%%T10%> Now you can use it to replace CR/LF's with asterisks in your variable. Replace "%T13%" with "*" in %T1% <TMVAR2:21:01:01:000:000:%T13%*> Quote Link to comment Share on other sites More sharing options...
cyberchief Posted September 20, 2006 Author Report Share Posted September 20, 2006 As always, Joe, you are too helpful! Thanks alot!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.