Hello experts
Can someone help me please?
I want to remove CR/LF from a string. How is this handled in ai?
Thank you very much
Emanuel
Hello experts
Can someone help me please?
I want to remove CR/LF from a string. How is this handled in ai?
Thank you very much
Emanuel
Code them as \r for cr and \n for LF.
Search this board for Crlf
Hello @Emanuel_Kury,
whether you're sure that the string ends with the sequence Cr +Lf (in this order), you can do, like @ABG has already said, something like:
where the blue circled character is an "empty" one, not a blank (space).
Be aware that with this method any couple of \r\n characters will be cancelled: therefore if this couple is laying not only at the and of the string, but also somewhere else, it wil be removed as well.
You might have to JOIN \r and \n from separate text blocks to get the right character sequence.