How to detect a Line Break inside a character array from string (or inside a string)?

Hi,

Does anyone know how to detect a Line Break symbol inside a character array from string?

Basically, I want to replace all the characters inside a string, but keep the Line Return characters at their exact positions inside the string.

Using the following BP logic, I can detect any character, but not the Line Break one. I’m using the SHIFT-ENTER character to test the Line Break inside the string.

Thank you.

Hello! I’m probably late but I’ll drop this img here in case it helps someone :smiley:
image