php string function help?

Lanh

New member
$string= "test yahoo f"
= "1234567890"
Need a function which finds the character/s which that belongs to the position I state exp:

Your_function($string,$posBeg=1, $posEnd=3){
echo character/s
}

output: tes
 
Back
Top