October 31st, 2000, 11:13 PM
I am a newbie to php and i am trying to fetch a portion of a message.
I tried using the boundary as the message part but that print the whole thing.
can some one point me in the right direction
Thanks in advance
November 1st, 2000, 08:06 AM
You may use substr() function to achive that.
Here is an example:
$message="hello this is the text";
//if i want to some portion of above message the i may try like this:
//this will return 'this is the text'.
//if i want to specify the limit for the display then i try.
//this will return 'this'.
See the manual for more details about the substr() function..
www.jobxyz.com-IT Career Portal
"The fear of the LORD is the beginning of knowledge..."