shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
format
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.string
Format the passed string using the requested format. Available formats are:
- isoDate
- isoDateTime
- isoTime
- integer
- number
- alphanum
- hex
- hexa
- creditCard
Params
- string*-String
The string to format
- format*-String
The format to use
Return
- -String
The formatted value
Example
import { format } from '@blackbyte/sugar/string'Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space