There are many reasons for manipulating variables in JMeter, especially when you are loading data from a CSV data set config element. You might want to trim a JMeter variable, or grab just a substring.
Wherever you were about to use a raw variable, such as
The important thing to remember is that the
You can also store back the result into a different variable, as this example shows – it adds together two variables, trims the string, and stores it in