I have following two div
tags and would like to count only words/character that are human readable.
<div>Pickup</div>
<div> </div>
When I use PHP strlen()
, they both return a same value and I cannot use it to show only the Pickup.
Same scenario when I use str_word_count()
.
Any ideas?