v13 Mac on OS X 10.9.5

I have the some code testing a utility.
I create some text, and then replace specific characters in the text 
(see below)
When I replace a marker with Carriage return, no problem
When I replace CR with linefeed, no problem
when I replace linefeed with CrLf REPLACE STRING takes many times as 
long to complete on otherwise the same text...

any Ideas??
snippets of code follows


$Text_var:=Replace string($Text_var;$Other;$Cr)  //instaneous
$Text_var:=Replace string($Text_var;$Cr;$Lf)  //instaneous
$Text_var:=Replace string($Text_var;$Lf;$CrLf)  //takes 6639 millisecond

Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
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:4d_tech-unsubscr...@lists.4d.com

Reply via email to