Hi,
I need to extract a value from a dynamically changing string but only the bit between a set of brackets, e.g.
var exampleString1 = "some text (I need this bit)"
var exampleString2 = "some more text (value to store)"
Output:
exampleString1 = I need this bit
exampleString2 = value to store
Thanks in advance!
I need to extract a value from a dynamically changing string but only the bit between a set of brackets, e.g.
var exampleString1 = "some text (I need this bit)"
var exampleString2 = "some more text (value to store)"
Output:
exampleString1 = I need this bit
exampleString2 = value to store
Thanks in advance!