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

Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to c

Mass activity scheduling
Hi experts,

Im facing some problems to deal with mass activity jobs.
When I run some

having probem inserting data into db table
hi

i have a table with following columns in it
Code: candidate_id, degree, cgpa, institute

Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members kno

Images in email problem
I found this script for sending emails, it works but if the email has <img src="image.jp

GIS appliction help
I found some tutorials in the internet to develop a map application I don't want to use google maps

Display last record first.
I need some help how put the last record first and first record last.

Thanks

Code: &am

generating all possible random letters
hi'

how can i randomize the letters a,b,c,d,e all possible ways, and i want to print the res

frames get header location..
i have two frames, one top, one bottom. how do i do a form on the bottom frame that gives me the ur

Problems generating word documents on server side for security reasons
I have a problem with word documentation generation when generating a word document (docx) with PHP.

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