View Single Post
  #2 (permalink)  
Old 11-17-2004, 11:06 AM
Deep13's Avatar
Deep13 Deep13 is offline
WebProWorld Veteran
 

Join Date: Dec 2003
Location: India
Posts: 306
Deep13 RepRank 0
Default

echo substr_count ($string,"
");

each line will have
in order to print the text in new line...

so you will get No. of
and then you can do whatever you want with it...

I hope this is what you wanted...

Deep
Reply With Quote