Forum Discussion
CharlesHarold
7 years agoOccasional Contributor
I'm not entiirely certain what 'namePropertyValue' actually contains, but if it's something like "/api/1/geographical-indication/product-group?Name=~chi", then this will get everything after the equals sign:
def namePropertyvaluePartial = namePropertyvalue.substring( namePropertyvalue.indexOf( "=" ) )