Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multi-line string with only 1 line
#1
im pulling a file that began as a csv dump from a cell phone co which was pulled into a string "findrepaced" a couple of things then wrote it out into a text file. when i pull that text file up into a variable i get numlines=1 and len=22975.

Confusedhock:

why isnt it seeing the multiple lines? i did find(a "[13]") and got 54 which was right at the end of the first line when im looking at it in the text editor....

any ideas whats going on or better yet how to fix it?


i even added a few returns in it myself in the text editor but it still sees it as only one line....

thanks
An old blog on QM coding and automation.

The Macro Hook
#2
QM recognizes new line characters 13+10 ("[]"), or only 10 ("[10]"), but not 13 ("[13]"). Try to findreplace "[13]" to "[]".
#3
FREAKIN' AWESOME!!!!

THANKS.


is that [13] thing cuz it was probably built on a unix system?
An old blog on QM coding and automation.

The Macro Hook
#4
http://en.wikipedia.org/wiki/Newline

Windows CR LF (13 10)
Unix LF (10)
Mac CR (13)


Forum Jump:


Users browsing this thread: 1 Guest(s)