Mega Code Archive

 
Categories / Php / Strings
 

Strlen php

<?php    $pswd = "secretpswd";    if (strlen($string) < 10) echo "Password is too short!"; ?>