-
Notifications
You must be signed in to change notification settings - Fork 4
Common functions
elcapo edited this page Nov 4, 2014
·
4 revisions
Common functions is a package that contains a set of useful functions that facilitates working with strings and other objects.
- The translations for this functions are available for JavaScript.
- The tests are available for JavaScript.
Some of the functions included in this package are intended to facilitate the use of strings. addEvery
, for instance, allows you to add a certain character into a string every given number of positions.
Having a string like abcdefghijklmnñopqrstuvwxyz
, we can easily add a point (.) every two (2) characters, so we would have ab.cd.ef.gh.ij.kl.mn.ño.pq.rs.tu.vw.xy.z
. This function is implicitely used when working with masks.
Go back home!
SEPA validations
- [International Bank Account Numbers (IBAN)](International Bank Account Numbers (IBAN))
Spanish validations
- NIF, NIE & CIF
- [Spanish Bank Accounts](Spanish Bank Accounts)
Helpers
- [Common functions](Common functions)