Getting Substring from other languages
by MANIMUTHUPANDI[ Edit ] 2014-06-02 14:45:41
mb_substr(str,start,length,character encoding) will return the substring with character encoding.
$d="கோல்";
$d=mb_substr($d,0,1,'utf-8');
The above function will output the string 'க'