Page 1 of 1

Getting part of the string

Posted: Wed Jul 05, 2006 3:46 am
by winsonlee
$string = "hello world";
$start = 1;
$end = 5;

how can i make a function in such a way that when the above 3 parameter is passed in, it will return "hello"??

Posted: Wed Jul 05, 2006 3:52 am
by JayBird

Posted: Wed Jul 05, 2006 4:00 am
by winsonlee
thank u