Quote from
luishp on August 28, 2020, 6:55 pm
As you know you can use the syntax [myVariable] to show the value stored in myVariable.
But this is also possible:
Displaying or getting a property:
[myVariable.lenght] will show the number of characters stored in myVariable.
Displaying or getting a JavaScript method result:
[myVariable.toUpperCase()] will show the value stored in myVariable but transformed to upper case.
More information about available methods for string variables:
https://www.w3schools.com/JSREF/jsref_obj_string.asp
As you know you can use the syntax [myVariable] to show the value stored in myVariable.
But this is also possible:
Displaying or getting a property:
[myVariable.lenght] will show the number of characters stored in myVariable.
Displaying or getting a JavaScript method result:
[myVariable.toUpperCase()] will show the value stored in myVariable but transformed to upper case.
More information about available methods for string variables:
https://www.w3schools.com/JSREF/jsref_obj_string.asp
Vadim, asmat and José María Torres have reacted to this post.
VadimasmatJosé María Torres