The following string has some variables inside:
sText := '%CUSTOMER_LASTNAME%%CUSTOMER_PRENAME% - LANG: %LANGUAGE%'
I made a custom SPLIT_STRING function and want to get each variable in the String:
sStr := SPLIT_STRING(sText,'%');
What I now got in loop is:
- null
- CUSTOMER_LASTNAME
- null
- CUSTOMER_PRENAME,
- '- Lang':
- LANGUAGE
- null
What I need:
- CUSTOMER_LASTNAME
- CUSTOMER_PRENAME
- LANGUAGE
Can I perform a split string with an RegExp or how to do this?
TIA frgtv10