Hi All,
I have a string that contains several "placeholders" in it, and each placeholder is marked with this syntax: {value}.
I want to be able to pull out each placeholder within the string and load them into an array.
For example, if I had this string here... "this is a {test} string, to demonstrate my {objective}."
I would want the end result to be an array that contained two values, "test" and "objective".
I poked around with preg_split but couldn't quite wrap my head around it. Any ideas on how to make this happen?
Thanks!