Question about using a variable in selectors

Hi everyone~
I found two ways to use variables in selectors.

  1. {{variable}}
  2. ‘“”+variable+’" (single & double quot combinations)

It looks the first method is more simple and easy to use.
Whats the difference of the two methods above?

1 Like

Both are same way of creating or inserting a variable of type STRING inside a string with double quotes

Initially we had the second option of creating a variable in a selector

But later we got an enhancement of creating a variable inside the selector editor itself by right clicking and creating a variable like this
{{variable}}

Cheers @kang0068