PDA

View Full Version : count letters in a string! PHP



andr.in
August 10th, 2003, 03:42 AM
Is there a way to count the number of letters in a string?
With count(); I would have to split the string into an array somehow but I'm kinda hoping there's another way!

λ
August 10th, 2003, 06:40 AM
strlen(string)

andr.in
August 10th, 2003, 09:00 AM
thx :)