<?php function hyphenate($str) { return implode("-", str_split($str, 3)); } echo hyphenate("ABCDEF");
You have javascript disabled. You will not be able to edit any code.