You would use Right(name of your tracking number field;12)
Great, thanks Jack. It worked, but now I need to set an "if" function or maybe there's another way to handle this... If the carrier is fedex, the ship ID needs to be 18 characters, and if the carrier is UPS, it needs to 12 characters. Can you apply "if" "else if" function in a calculated field?
I would suggest using the case statement.
Case(carrier = "fedex";Right(ship ID;18);
carrier = "UPS"; Right(ship ID;12);
Jack, again, thank you! I got this to do exactly what I needed to. These scripts can be very finicky sometimes.