Problem with [tosymbol]
Hi.
Does anyone have experience getting a message including a forward slash ( / ) to output in quotes from a [tosymbol] object? I'm sure there's a simple solution to what I'm doing, but I can't figure it out. In the below patch I'm looking for the end result: "_/16" in a message box.
Thanks in advance for any help!
-- Udo.
hey udo,
What you created is a symbol already. That is why symout doesn't output the quotes. But maybe you already knew that.
And that means what you are asking is: How do you put a symbol into quotes? I checked the forum for "symbol" and "quotes" and there it is: https://cycling74.com/forums/double-quotes-around-symbol-without-spaces
all the best,
ygreq
Ah, duh! Thanks, ygreg. I should drink coffee before I start a.m. patching!
Happy Saturday!
-- Udo.
I misspelled your name ! Sorry, ygreq.
I just edited the above message as the first example here (the second one there in the link) was with space as well.
No problem,
Happy patching to you, too! ;)
Thanks, ygreq.
Hello, YGREQ,
The sprintf solution that you suggested to UDO places a backslash before the double quotes when writing to the left input of a message object. Is there a way to avoid the backslash?
Thanks in advance,
-John
sorry, "...when writing to the right input of a message object."