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

Manitowoc 24-0503-3 Solenoid Valve 230v
$43.0
Manitowoc 24-0503-3 Solenoid Valve 230v pictureRichdel R785 120volt Humidifier Solenoid Valve, Old Stock
$20.0
Richdel R785 120volt  Humidifier Solenoid Valve, Old Stock pictureJohnson Controls V11HGA-100 Solenoid Air Valve 3way Brand New 24V
$40.0
Johnson Controls V11HGA-100 Solenoid Air Valve 3way Brand New 24V pictureJohnson Controls V11HGA-100 Solenoid Air Valve, 24VAC, 0-25 psi
$29.99
Johnson Controls V11HGA-100 Solenoid Air Valve, 24VAC, 0-25 psi picture Tennant 210033 120 volt Solenoid
$29.99
 Tennant  210033  120 volt Solenoid  picture






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