substr(string,start,length): This function extracts length characters from the start position of the string string. If start is a negative number, it starts from the end of the string. If the omitted parameter length exists but is a negative number, it means that the length character from the bottom is obtained.
$str = "abc|bck|fhq|nui";
print(explode("|",$srt)); //Output array([0]=>abc,[1]=>bck,[2]=>fhq,[3]=> ;nui)
?>