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

Trouble checking SESSION cookie
I am trying to use $_SESSION cookies to verify admin privileges .
I don't understand why this is

my login script page is not working on remote computers
hi my login is working on my computer, but when i tried 2 computers from 2 different locations, they

Getting number of affected rows in SQLPLUS..
Hi everyone,
I have a shell script where i am invoking sqlplus, running a query and saving t

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

recrawling
Can anyone suggest me how may i know a page is updated before it is being downloaded, so that i can

insert quotes
Hi,

I have an output like this:
Code: john,18,Cancer
How can I change this to
Code:

Form a inline view based on the results of the previous query?
Hi Experts,
Can we form a inline view on the results of a previous query (another inline view)?

Dump with added_funcion cl_salv_table
Hi there, I'm having some troubles adding a self defined function to an ALV in fullscreen. The thing

returning data from an ssh2_exec()
here's what i got.


$conn = ssh2_connect($this->_host);
ssh2_auth_password($c

help understanding hidden input w/ php
hello i'm doing a tutorial where there are multiple forms for an edit page for a user to update thei

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