I am trying to remove a carriage return from some text and I am finding some odd behavior. Do any of you know what might be going on here?
This is actually what I am trying to split but as you can see neither of the two methods from above are working. The text is coming from a Text Note in Revit (the file is in Spanish. I not sure if a Spanish keyboard has a different enter or not).
I know that how to get a multi-line text i can use /n
That is what I thought too but it is not working. I then went to my sample (the first picture) and found that different types of text formats give different results.
I will keep digging though.
I just removed all characters except for the return and that works but I am not sure what it is.
After isolating it, I used Clipboard.SendTo from clockworks and then pasted it into the String node and it is working.
Still not sure what it is but it responds very strangely in my sample from the first post.
Here is the character
If you copy the element between the lines separating the ///// you should be able to get it if you want to take a look yourself.
That did not work so here is a dyn with it in a sting.
Carriage Return.dyn (1.7 KB)
I had tried “\n” but that did not work. I forgot about “\r”
No problem. Sometimes multiple “\n”'s work for me too.