About ' ' and " "


#1

What’s the usage of them in computer coding ?


#2

Good question!

In JavaScript, both can be used. You have to be sure that you open and close a string with the same types. It is also best practice to use the same type of quote marks throughout your whole program. In Grasshopper, we mostly use the single quote marks.

H :slight_smile:


#3

Can anybody please explain string in easy way I have little confusion


#4

A string is any text inside a double (") or single (’) quotes.

https://www.w3schools.com/js/js_strings.asp