Spacify
Less than 1 minute
Spacify
Add spaces or other characters between each character in a string.
class SpacifyMethods
run
public run(string $string, string $replacement = ' '): stringReturns: string
Parameters
| Parameter | Type | Description |
|---|---|---|
$string | string | The input string |
$replacement | string | The replacement character |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000