Skip to content

Commit 59c95f9

Browse files
author
Roman Lakhtadyr
authored
Update Strings.php
1 parent 939aeed commit 59c95f9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Nerd/Common/Strings.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,3 @@ function indent($length, $text)
1515
}, $text);
1616
return implode(PHP_EOL, $result);
1717
}
18-
19-
function toHeadTail($string)
20-
{
21-
if (strlen($string) == 0) {
22-
return [null, null];
23-
}
24-
return [$string[0], substr($string, 1)];
25-
}

0 commit comments

Comments
 (0)