quotes in strings
BlitzMax Forums/BlitzMax Beginners Area/quotes in strings| 
 | ||
| How do you get blitzmax to print quotes in side strings? For example: local text:string = "Sam said "Hello everyone" to the audience" print text The above code will not work. Jason | 
| 
 | ||
| local text:string = "Sam said ~qHello everyone~q to the audience"or local text:string = "Sam said "+Chr(34)+"Hello everyone"+Chr(34)+" to the audience" | 
| 
 | ||
| you use ~q "Sam said ~qHello everyone~q to the audience" See the "Literals" section of the documentation for more examples. |