Replace " with "
Aug 3, 2012 at 9:41pm
Replace " with "
Aug 4, 2012 at 10:50am
You may be stumbling over the fact that the quotation mark is a special character in Max (as in most other programming languages).
It would be helpful to have a specific patch showing what you really want to do. As it is, your first example consists of three symbols:
(including the quotation marks as parts of the first and last symbols) whereas the second is a single symbol
including the spaces but not including the quotation marks (which simply serve to delimit the beginning and end of the symbol).
Apologies if you’ve already grokked that, but a lot of people stumble over it.
Aug 5, 2012 at 11:55am
Thanks for the reply Peter, however that is not the case.
I have a java object which can only return a message with ” instead of “. (I may have to hit up the java forum). But I thought it might be an easy regexp problem to switch them.
Basically the message can be any length with lots of spaces but must be seen as a single symbol, reason why I need to get rid of the backslash and have only double quotes.
Thanks for the help,
Aug 5, 2012 at 12:11pm
How about this?
– Pasted Max Patch, click to expand. –
Copy all of the following text.Then, in Max, select New From Clipboard.
Aug 5, 2012 at 2:11pm
You ought to be able to handle this in your Java code. Can you show us what you’re doing there?
Aug 13, 2012 at 11:44am
Broc and Peter, Thanks for the help, sorry in the delayed response, I went on vacation for a week and my wife refused to let me take any electronics :)
Broc. In my speedy response last time I failed to properly specify exactly the message… sorry about that.
Peter, I am using java from Mark David to access mysql from (as he has better error messages output than Nick Rothwell’s). BUT his output doesnt contain double quotes, meaning if you have a string like “Blah Blah” it outputs it as Blah Blah, which is a problem because if you query multiple columns (each column can contain spaces) then the column’s data can get mixed up.
How I mod’d it to get “The Lead” “127 437 538″
Any Ideas with that one on getting “column1″ “column2″ … “columnN”?
Thanks again for the help guys!
You must be logged in to reply to this topic.