Update string.php

Fixes function randomstring.
Merge pull request #1 from CharlotteDunois/patch-1

Update string.php