aspose file tools*
The moose likes PHP and the fly likes multiple occurrence of a word in a String Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "multiple occurrence of a word in a String" Watch "multiple occurrence of a word in a String" New topic
Author

multiple occurrence of a word in a String

zalak thakkar
Ranch Hand

Joined: Sep 09, 2013
Posts: 33
Hello everyone,

I have a problem in finding the multiple occurrence of a single word in a Sting..Can any one help me? I have also the code of it bt it displays nothing.

Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5514
    
  13

You print values outside the html-tags. That's definitely not a good practice (and definitely results in invalid html). Should be in the body-tag, maybe in a seperate div-tag containing the results...


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multiple occurrence of a word in a String