Forums > MaxMSP

colon problem

October 22, 2012 | 7:52 am

Hello,

is there a way to replace all the colon of a text with , ?
or to brace al the text with " " without loose the colons ( with [tosymbol] there’s no more colon after processing )

forumQuestion.maxpat


October 22, 2012 | 1:36 pm

how about this:

– Pasted Max Patch, click to expand. –

October 22, 2012 | 2:23 pm

:) perfect
i’m not so friendly with [regexp]… it looks like it have to change

thank you a lot

PB


October 22, 2012 | 11:03 pm

it looks like it’s a max 5 thing _and_ a max 6 thing, but they’re different things — it’s also a max message-box with commas thing, and maybe a max implementation of regexp thing… and there’s also a difference between the print->max window representation and the message-box representation

here’s a patch I made in max 5

– Pasted Max Patch, click to expand. –

so freepoulite, you should probably get confirmation from c74 which is the right way to do it — there might be a better way that won’t be ambiguous– in the mean time I’d go with nicolas’ method (I suspect printing to the max window is a more accurate representation…)


Viewing 4 posts - 1 through 4 (of 4 total)