[[STRING_REPLACE:destination|needle|replacement|haystack]]
destination(string) Name of variable where output will be stored.
needle(string) What you are replacing for. May be a PHP variable (formatted with the leading dollar sign$) containing the needle.
replacement(string) What you are replacing with. May be a PHP formatted variable containing the replacement.
haystack(string) Name of variable where the needle can be found.
This shortcode lods the haystack with the needle, replaces the needle in the haystack and then loads the resulting haystack into the destination variable.
Examples:
[[STRING_REPLACE:var2|8-plan|Plan8|var1]] [[STRING_REPLACE:newdata|$needle|$replacement|olddata]] [[STRING_REPLACE:pivot_data|14-plan|Plan14|pivot_data]] [[STRING_REPLACE:pivot_data|21-plan|Plan21|pivot_data]] [[STRING_REPLACE:pivot_data|-|_|pivot_data]]