That should have read replace string of course if you change all the possible EOL characters to CR, then position will find all the CRs or have I missed something? pm
On Sat, May 13, 2017 at 8:30 PM, James Crate via 4D_Tech < [email protected]> wrote: > On May 13, 2017, at 8:53 AM, Peter Mew via 4D_Tech <[email protected]> > wrote: > > > > Replace text($text;lf;cr) > > Replace text($text;crlf;cr) > > Position($text;cr) > > -pm > > This won’t detect the line endings, which is what was asked, it will > change them to CR. However, to properly normalize line endings you need to > replace CRLF first. > > Jim Crate > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** > ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

