Quote formatting in sprintf
Hi everybody,
I have been trying for hours now to correctly format a string with sprintf. I have to have quotes in the output but they will include a passed integer. I have added a patcher here that hopefully shows what I want to achieve pretty clearly.
I have already learned that to escape commas I need to add two backslashs which seems very random but for the quotes I have not found anything that seems to work.
Any input or a hint would be much appreciated, thank you!
Johannes
Max Patch
Copy patch and select New From Clipboard in Max.
It seems to work with 3 backslashs.
Max Patch
Copy patch and select New From Clipboard in Max.
Well! Thank you, seems to do the job for me, too. And there I was thinking two backslashes for the comma was weird :D