Query on white spaces in identifiers #339
pkarandikarklp
started this conversation in
General
Replies: 1 comment
-
It is not possible to use variable names with white spaces directly in an expression, it violates the syntax. `Expression expression = new Expression("getValue(\"first name\") + \" \" + getValue(\"last name\")); Definition of the custom getValue() function should be easy. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I know that usually languages do not allow white spaces in the identifiers like variable names, function names etc.
I would like to know if there is any way where I can have spaces in the expression variables
e.g.
In the below expression
strcat(first name, last name) == "abc xyz" where the variables in the expression contain spaces
Beta Was this translation helpful? Give feedback.
All reactions