I need a string as follows.
s = "$.vars.start.params.operations.values"
I've tried to write it like this:
String s = "$".concat(".").concat("start").concat(".").concat("params").concat(".").
concat("operations").concat(".").concat("values");
There's a chain of concat operations.
Is there a better way of doing this?
"$" + "..." + "..."!? Or just have the plain string since there is nothing dynamic in the string anyway. Orjoin"$." + start + "." + params + …(assuming those are actually variables)?