Word Trimming


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

Hi Guys & Gals!!

Hope you are all ok....

Did you know?Explore Trending and Topic pages for more stories like this.
I need some help with the following

I need to trim the following word as follows:

$word = 'James Bond';

output would be 'James B'

There is a space between all of the words I need to trim...

Any suggestion??

Thanks in advance..
No comments posted yet

Your Answer:

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

Help with Contact Form
I have this Form on an html page and the associated code on page.php (below).
I keep getting the

remove innitial

and

tags
i am using tiny_mce as a text editor for my CMS.
buy now the problem is it add <p>

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

Multiple server callbacks (NOT POSTBACKS)
Hello, I have 2 different javascript client side functions that are on timers. When the timers elap

php call servlet
I have done a php backup application .
So there is a form that user pick some files to zip and d

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

Recognising Revenue daily
Hello.
Has anyone come across daily recognition of deferred income?
We want to implement R

how to validate date using javascript
I need to validate date in textbox using javascript..
The date is must be not greater than TODAY

Creating Images from images in PHP
Okay well I am trying to make a 'dynamic' calender image with PHP.

I have images like this:

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

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