For example:
The patent number is A 1.
B 1 input formula = if (-mid (a 1, 5, 1) = 2, "utility model patent" and "other patents").