I need to check if a given variable is a string. I\'m aware of the typeof operator to check a variable\'s data type but is there a way to check if a variable is a string by