For each string cLine of cText separated by <\n>
April 20, 2021 05:12PM
I use this command a lot of times with succes.

For each string cLine of cText separated by <\n>

Now with the separator <\n>

It does not work.

Someone an idea.

Thanks,

Willy Hermans
Ola
Re: For each string cLine of cText separated by <\n>
April 20, 2021 05:53PM
Hve you tried with CR ?

Ola
Re: For each string cLine of cText separated by <\n>
April 20, 2021 05:56PM
Yes but that did'nt work.
But I've just found it.
<\n> is line feed.
It is ASCII value 10
So with charact(10) it works.

Thanks anyway
Willy
Re: For each string cLine of cText separated by <\n>
April 21, 2021 10:38AM
Hi

Depends on where it is coming from mostly.

In classical Windows you will see mostly CRLF as line break (ASCII Char(13) + Char(10) or Carriage Return + Line Feed).
In many Linux and web based platforms you will often only find LF (Char(10) or Line Feed) as break.

In Word this would be the difference between a Return (CRLF) and Shft+Return (LF)...

A simple verification in notepad++ (https://notepad-plus-plus.org/) would have shown you the exact encoding if you display the control characters.

In WX you can use the constants CRLF and CR instead of using the ASCII offset table. And EOT for determining the document end.

Hope this helps in clarifying !

Peter Holemans
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: