How to use Substr


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

I want to check for the word CATEGORY: inside a string which can be CATEGORY: ITEM
and remove the word CATEGORY: leaving only ITEM inside the string....

In case the string does not have CATEGORY: before listing the ITEM then nothing happens...
Did you know?Explore Trending and Topic pages for more stories like this.

Thanks
No comments posted yet

Your Answer:

Login to answer
56 Like 26 Dislike
Previous forums Next forums
Other forums

How to write on database when a link is clicked?
Hi, I have a list of products in a gridview. When the link is clicked currently it takes to an ext

session variable problem
Session variable is not working in Fire fox i am getting null value but it is working fine in IE.

Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...

function getTreeWithChildre

OOP help
okay so i have a class im making it has everything setup i just need to randomize the 2 variables an

MySQL noob question
hi guys

I have a simple mysql table set up, along the lines of

Col 1 - Col 2 - Date_l

Table sorting
Hi,

I'm trying to modify the following in order to make the output table sorted alphabeticall

Error with Font and imagettfbbox
I keep getting an error that says "Warning: imagettfbbox() [function.imagettfbbox]: Could not f

Values disappear from my array :( HELP!
hey all, I have a lil mysql/php/apache script that queries a database
and pulls put 5 integers.

Email Processor
I have a few questions so this post will be a larger one! Sorry, but I'm a bit of a PHP newbie so be

Filename and Line Number Custom Error
I have a class, with a method that accepts 2 parameters. I would like to output error messages.

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