in reply to How do I find the length of a string?
I prefer the use of brackets as well in this instance. For any beginers just starting out here's the code using brackets.
$someText = "Happy happy joy joy"; $someTextLength = length($someText);
I found it difficult reading posts when I first started out because people were talking casually about stuff that was way over my head.I had no clue what they were on about, so I thought I would simplify this for any newbies
M
Originally posted as a Categorized Answer.
|
|---|