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
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

Deleted Delivery but material wont return
We deleted a delivery but the material its still pending.

We made a reverse goods movemen

Image DPI
Hi.

I allow users to upload images, the user then is able to adjust several settings for the

Executing an exe
Hi. I have some bizarre problem with exec (other any other method) to launch exe's. I am making a ga

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

newbie question about multiple queries
hi everyone,
I'm sorry to ask such a basic question, but I'm young and trying to learn php on my

problem with sql querry in php script
Hello guys,

What I want to do is I want to read out a csv file and then but te conent ot the

Xacute search within SQL results
I have a query that is pulling data, and I want to return a specific value from the results of that

Motivational Posters
Hello,

I wonder how can i do them in php. Are there any sample codes that you can show me?

Shuffle Array
Hi,

I am writing a script for a game that needs players to randomly be assigned a target (ano

A little help in c#
i am doing a simple paint program using c# i want to draw with the mouse so i wrote the code of the

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