On Mon, Jan 9, 2012 at 10:45 PM, priya cst <[email protected]> wrote:

> Hi,
>
> I am trying to write a program to split Tamil characters in a word.
> When I use this function,
> *preg_match_all('/./u', $str, $results)*
>
> I get this output
> *array(5) { [0]=> string(3) "த" [1]=> string(3) "ம" [2]=> string(3) "ி"
> [3]=> string(3) "ழ" [4]=> string(3) "்" } *
>
> But I have to get each characters த மி ழ், not த ம ி ழ ்
>
> so anyone can help me to correct this program.
>
> Thank you.
>
>
>
> Regards,
> Priya.
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>


You can have a list of characters that are to be attached to previous
character (like ி, ்). There must be better methods but this is what I know.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to