can some one please tell me how i can implement this method

static String[]  split(String text, Pattern pattern)

http://developer.android.com/reference/android/text/TextUtils.html#split(java.lang.String,
java.util.regex.Pattern)

public static String[] split (String text, String expression)

String.split() returns [''] when the string to be split is empty. This
returns []. This does not remove any empty strings from the result.
For example split("a,", "," ) returns {"a", ""}.
Parameters
text    the string to split
expression      the regular expression to match
Returns
an array of strings. The array will be empty if text is empty
Throws
NullPointerException    if expression or text is null

i've imported import android.text.TextUtils; but eclips desnt
recognise any method i type in.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to