Converts a raw license plate string into a human-readable Persian license plate format.
The license string is divided into segments (first two digits, character code, three digits, and Iran code).
The character code is mapped to a Persian letter using the PLATE_LETTER mapping.
Parameters
license: string
The raw license plate string (expected to be at least 9 characters).
Returns string
The formatted, human-readable license plate string.
Converts a raw license plate string into a human-readable Persian license plate format.
The license string is divided into segments (first two digits, character code, three digits, and Iran code). The character code is mapped to a Persian letter using the
PLATE_LETTERmapping.