I have the following string:
'SCAR-20 | Sand Mesh (Battle-Scarred)'
I need to break this into 3 different sections, my output should be 3 variables - example:
var part1 = 'SCAR-20';
var part2 = 'Sand Mesh';
var part3 = 'Battle-Scared';
Though the string will change the structure of the string will always be the same:
'part1 | part2 (part3)'