A Simple Question
Blitz3D Forums/Blitz3D Programming/A Simple Question
| ||
Hi! In most languages I can embed a quotation mark in a string simply by inserting an escape character (usually the backslash) in front of it, but that does not work in Blitz. So the question is, how can I print a quote mark while using, for instance, the "Text" command? |
| ||
Print "hello " +Chr(34)+ "world" +Chr(34) By writing the ascii code for the character. |
| ||
Thanks. This does make the use of TextWidth (for example) on a string with quotes more tedious than it would be if one could simply type an escape character into the string. |