Voting

: six plus three?
(Example: nine)

The Note You're Voting On

geniusdex ( at ) brz ( dot ) nu
21 years ago
This is my version of making dotted strings:

<?php
function dot($str, $len, $dots = "...") {
if (
strlen($str) > $len) {
$dotlen = strlen($dots);
substr_replace($str, $dots, $len - $dotlen);
}
}
?>

<< Back to user notes page

To Top