Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | DimitriyPS | |
Old Version | Published before Godot 3 was released. |
RichTextLabel as from the script to add the quotes?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | DimitriyPS | |
Old Version | Published before Godot 3 was released. |
RichTextLabel as from the script to add the quotes?
Reply From: | Julian Murgia |
I don’t understand your question. Please reformulate.
Reply From: | DimitriyPS |
I don’t understand your question. Please reformulate.
How do I GDScript to add to RichTextLabel the quote character (")? GDScript will recognize it as marking the beginning of a string constant in the script.
Reply From: | supaiku |
You can escape special characters like " with a prefixed \ character.
E.g
button.set_text(“"Quoted string"”)
Thank you it works.
DimitriyPS | 2016-07-18 13:57