You can achieve this easily with a regular expression replacement.
In Generate Attributes, you can use such a function:
replaceAll(string, "(.+)-(.+)", "$1")
$1 refers to the first match, $2 to the second one. Regular expression matches are "greedy", so the first one consumes as much of the string as it can, until the dash, and puts the rest into the second match.
Answers
You can achieve this easily with a regular expression replacement.
In Generate Attributes, you can use such a function:
$1 refers to the first match, $2 to the second one. Regular expression matches are "greedy", so the first one consumes as much of the string as it can, until the dash, and puts the rest into the second match.
Here's an example process:
Regards,
Balázs