what's the diffrent between '' and "" in godot ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By szccornish

hai im new to coding, i know “strings” ← this mean strings. but what does ‘this’ mean ?

example :

var classScope = ‘Class Scope’

func scope():
→ for i in 1 :
→ -> print ('Class Scope: ', classScope)

:bust_in_silhouette: Reply From: exuin

There is no difference. It’s just that you can use ’ and " inside of each other in order to have quotation marks in a string without having to escape them.