For example, I have a String "PARAMS @ FOO @ BAR @" and String array {"one", "two", "three"}.
How would you map the array values one-to-one to the string (replace the markers), so that in the end I would get: "PARAMS one, FOO two, BAR three".
Thank you
You could just do
After this,
strwould hold"PARAMS one FOO two BAR three". Of course, to include the commas you could just replace withs + ",".