how to get code and sub code from query sql like this from column A with
format :
[very long name | code | subcode]
for the example
[Pear | S01 | 10]
[Pineapple | S01 | 9]
PS : there is no square brackets but the the pipe delimiters is real