Get word number x from string?


Posted on 16th Feb 2014 07:03 pm by admin

How can I use a function to loop through a string, and "have a look at" every word in the string, probably separated by a comma, and print them out, like this:

word 1: xxxx
word 2: xxxx
Did you know?Explore Trending and Topic pages for more stories like this.
word 3: xxxx

etc, and loop till it has finished?
No comments posted yet

Your Answer:

Login to answer
288 Like 31 Dislike
Previous forums Next forums
Other forums

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

Opening Multiple Files/Links in Order.
I want to open links in order/one-by-one and check each for a specific string.

Example:
I

Track downloads' status
Hello,

I need to make somehow, some system, to track whether downloads are completed or faile

Multiple forms on the same page (safari)
Hello everyone,

I have 3 forms on the same page, that opens in a new window and submits to a

how can i make a .gif images for my site
Dear Friends ,

Pls solve my problem , I am starting making new site but i dont know how can i

WELCOME SCREEN
first of all let me tell you what does my script do,

it´s a very simple query to show a e

returning data from an ssh2_exec()
here's what i got.


$conn = ssh2_connect($this->_host);
ssh2_auth_password($c

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

pagination - need help on passing of search query.
Hi, i have been trying for days but couldn't get this sorted out. Would like some professional help

login box shows up again after logging in 2nd login works
Hello,

I am having trouble on my site Lockerz.rack111.com where when you login the login box

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash