spacify
spacify
is a way to insert a space between every character of a
variable. You can optionally pass a different character or string to
insert.
Basic usage
Parameters
Parameter Position | Type | Required | Default | Description |
---|---|---|---|---|
1 | string | No | one space | This what gets inserted between each character of the variable. |
Examples
Where template is:
Will output: