update page now
Longhorn PHP 2026 - Call For Papers

Voting

: two plus zero?
(Example: nine)

The Note You're Voting On

mv@NOSPAM
22 years ago
the best way to solve the problem with the last string added by chunk_split() is:

<?php
$string = '1234';
substr(chunk_split($string, 2, ':'), 0, -1);
// will return 12:34
?>

<< Back to user notes page

To Top