BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 10-22-2009, 04:30 AM   #1 (permalink)
New Member
 
Join Date: Oct 2009
Model: 9000
PIN: N/A
Carrier: AT&T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to use StringPattern for BB

Please Login to Remove!

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!
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Tagarno 35AX-Xeon
$249.99
Tagarno 35AX-Xeon pictureCONMED LINVATEC LS7500 XEON LIGHT SOURCE **POWER ON N.F.T.**
$499.95
CONMED LINVATEC LS7500 XEON LIGHT SOURCE **POWER ON N.F.T.** pictureQty 2 Dell Poweredge 1950 Servers w/ Nortel CCMS CCMA Contact Center Management
$1079.1
Qty 2 Dell Poweredge 1950 Servers w/ Nortel CCMS CCMA Contact Center Management pictureINTEL XEON E5-2650L V3 12 CORE SR1Y1 1.8GHZ PROCESSOR
$499.99
INTEL XEON E5-2650L V3 12 CORE SR1Y1 1.8GHZ PROCESSOR pictureNew HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$28.79
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.