persian_utils

Last updated:

0 purchases

persian_utils Image
persian_utils Images
Add to Cart

Description:

persian utils

persian_utils #

persian_utils contains extension methods and validators for working with Persian texts.
This package is a translation of .Net library DNTPersianUtils.Core in Dart.

Method list #
Validators #



Method Name
Example
Output




Iranian National Code Validator
"0010350829".isValidIranianNationalCode()
true


Sheba Number Validator
"IR820540102680020817909002".isValidIranShebaNumber()
true


Shetab Number Validator
"6221061106498670".isValidIranShetabNumber()
true


Iranian Mobile Number Validator
"09901464762".isValidIranianMobileNumber()
true


Iranian Phone Number Validator
"37236445".isValidIranianPhoneNumber()
true


Iranian Postal Code Validator
"1619735744".isValidIranianPostalCode()
true


Persian Number Checker
"۹۹۹۹۹".containsOnlyPersianNumbers()
true


Check Text Contains Farsi
"Abc تست".containsFarsi()
true


Check Text Contains Only Farsi Letters
"تست".containsOnlyFarsiLetters()
true


Iranian National Legal Code Validator
"14005893875".isValidIranianNationalLegalCode()
true



Acknowledgment #
Very thanks to
Vahid Nasiri
for his useful library
DNTPersianUtils.Core

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.