Word Trimming


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

Hi Guys & Gals!!

Hope you are all ok....

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

xApp Analytics in BI 7.0
Dear all,

I am trying to implement xApp Analytics in BI 7.0. After I installed the analyt

Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably loo

Encrypt php code?
Is it possible to encrypt php code in files,
so that it displays a load of unreadable characters

Most basic form question ever?
Hello,

I want to use this snippet to make sure the fields in a form are ok before processing

Change log of Cost centre change in Plant maintenance order
Hi,
How to view Change log of Cost centre in Plant maintenance order. Not visible thru 'Docume

Ball movement
I want to move a ball from one point to another and it should hit a group of balls at the other end

close site for maintenance
i get a tutorial, saying the following code can put our site offline, and only the developer can vie

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

Setting a default timezone?
I have read about how to change the timezone in PHPMYADMIN, but it changes back, it doesn't STAY the

php title problem
Hi,

I am having a problem managing my page title with PHP.

Currently I have 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