Read string until first comma, then evaluate value of string? – Magento
I have a string called $DiscountDescription that can sometimes be populated with data like this: A43544675, A33540055, Or like this: A43544675, Basically, I can have either one value or two values within it, separated by a comma. I really only…