|
How to use StringPattern for BB -
10-22-2009, 05:30 AM
Hello ,i want to find several pattern match for a string ,in android ,i can use "Pattern" and "Matcher" ,but for StringPattern ,seems have different use.
Who can give me some idea for it ?
My purpose is to find match in a string ,something like:
"this is a [TAG] highlight [TAG/] string ,this is [color] blue [/color] string".
for "[TAG]" and other things like it ,i can find its position and length easily.
Thanks a lot!
|