Functions:spacify

From Dwoo Docs

Jump to: navigation, search

Adds spaces (or the given character(s)) between every character of a string

spacify(string $value, [ $space_char = ' ' ])
  • value : the string to process
  • space_char : the character(s) to insert between each character




Example:

{spacify 'abcd'}
{spacify 'abcd' '-'}

Output:

a b c d
a-b-c-d
Personal tools
templates
page language

French

The article you want to access doesn't exist in French.
Deutsch
The article you want to access doesn't exist in Deutsch.
Russian
The article you want to access doesn't exist in Russian.