[Ilugc] [ilugc] [PHP] Need help in program

  • From: prasannatsmkumar@xxxxxxxxx (prasannatsmkumar)
  • Date: Mon, 9 Jan 2012 23:02:33 +0530

On Mon, Jan 9, 2012 at 10:45 PM, priya cst <priyacst at gmail.com> 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.

Other related posts: