To assign a string to a variable, enclose the test either in apostrophes ‘…’ or in double quotes “…”:
string=’I am a cat’
string=”I am a cat”
If the string contains an apostrophe (I’m), then the entire string must be enclosed in double quotes, and vice versa. If the string contains both an apostrophe and double quotes, then a backslash must be used to escape the characters.