Order Printer | Display Only Portion of SKU

Hi, we are trying to customize our Order Printer app to generate nice looking invoices. In our product catalog, we use the SKU field to display the Style #, Color Name, and Size using a format of STYLE_COLOR_SIZE

I’m trying to figure out a way to take the break apart the three different values so I can display them on the invoice in 3 different columns. Does anyone know of a way to code the invoice to grab each value by utilizing the underscore (“_”) character as a way to identify where each value begins and ends?

Thanks in advance for any help