Validate_FI::carLicensePlate()

Validate_FI::carLicensePlate() -- Validate Finnish car license plate number

Synopsis

Описание

Validate Finnish car license plate number. Format: AAA-XXX, CD-XXXX or C-XXXXX.

AAA-XXX: AAA is 2-3 letters UPPERCASE A-Z and XXX is 1-3 numbers.

CD-XXXX: CD- and XXXX is 1-4 numbers (diplomat licence plate).

C-XXXXX: C- and XXXXX is 1-5 numbers (other tax-free diplomat licence plate).

Параметр

string $number

The license plate number to be validated

Возвращаемое значение

boolean - true if license plate number is valid, false otherwise

Пример

    Поддержать сайт на родительском проекте КГБ