Converts the first character of string to upper case and the remaining to lower case.
Get the number of days, weeks, months, or years between dates. Accuracy is casual by default, but you can use 'longterm' accuracy for a pedantic 400-year calendar.
Extract text matching a regular expression, returning an array of matches.
Formats the value like a 'human-readable' file size (i.e. '13 KB', '4.1 MB', '102 bytes', etc).
Pads string on the left and right sides if it's shorter than length. Padding characters are truncated if they can't be evenly divided by length.
Pads string on the right side if it's shorter than length. Padding characters are truncated if they exceed length.
Pads string on the left side if it's shorter than length. Padding characters are truncated if they exceed length.
Returns the plural version of a given word if the value is not 1. The default suffix is 's'.
Deburrs string by converting Latin-1 Supplement and Latin Extended-A letters to basic Latin letters and removing combining diacritical marks.
Truncates a string if it is longer than the specified number of characters. Truncated strings will end with a translatable ellipsis sequence ("…").
Start creating the apps you need in minutes. No coding needed.Start for free