0

need help with the replace function!!

I get an error on the replace line

 

output2 := "";
let cr := "<br>";
let lr := "
";
let myText := myRichText;
output := myText;
let cText := myText;
let cText := replace(myText, cr, lr);
let cText := text(myText);
output2 := cText

2 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 2 yrs ago
    • Reported - view

    Change let myText := myRichText;

    to

    let myText := raw(myRichText);

    Steven

    • NYNNA
    • Louis_Cornacchia
    • 2 yrs ago
    • Reported - view

    thank you. Yes. that works.