jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android 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: 5139
    
  12

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
 
Similar Threads
Uploading a file other than an image.
First script for PHP is not working
problem in updating data
\r\n db saving and echo issue
cannot process web form.