Hi, how can I use the " on a string typed on expression editor?
Printable View
Hi, how can I use the " on a string typed on expression editor?
using "" inside a string will result in a single ".
I find it easier to set an edit field or string object off screen with a " as its text and use the get text function. The method above works well but it can get confusing...
I would rather like to see escape codes, like \" for ' " '. :)
Yeah, that would be nice, like on PHP you can use /' or /".
Agreed!
That would be a great addition to MMF
I have an idea, two keys right of the L Key on your keyboard there is the @ key, hit it twice without holding down shift and you get what looks like " but it isn't, it's really '' but the user won't know the difference. It's a fact that two non-curvy apostrophes look like a speech mark.
On American keyboards the @ key is above the 2 key (near the W key).Quote:
Originally Posted by dragonguy
Quotation marks are not actually supposed to look like this anyway: "Blahness"
It's actually supposed to look like this: Blahness
Did you spot the difference? I used two different characters for the quotation start and end, which is more elegant. Those character appears to work nicely with MMF2's text boxes for me. I wonder if they work on all operating system language settings.
There not in ASCII, or ASCII extended...
So your best off avoiding them if you don't want some people to see ugly squares.
Hmm, what a shame :(
try this : """"+"Your text here"+""""
It would be result : "Your text here"
I'm using this method and it works :).
We've already established that "" inside a string results in a single " in the first reply :)