PHP Tutorial : String lenght with strlen
May 26, 2009 Basic PHP
I’ll be directly on this short one. Shame on me that I didn’t writed about this untill now : there’s an interesting php function which you might need frequently called strlen() which translates into string lenght. I’m sure you met it already into previous tutorials on this php tutorials blog but I think I didn’t made a post separately for this only so :
<?php $stringLenght = "Count this characters"; print strlen($stringLenght); ?>
Tags: php count characters, php count digits, php string lenght, php strlen, string lenght, strlen


Leave a Reply