BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Scanning a specific string in ActiveRichTextField using StringPattern (http://www.blackberryforums.com/developer-forum/224195-scanning-specific-string-activerichtextfield-using-stringpattern.html)

hiral 04-13-2010 06:27 AM

Scanning a specific string in ActiveRichTextField using StringPattern
 
Hi, I am a newbie in BLB development and exploring the ActiveRIchTextFIeld currently. I know that it detects strings like phone number and email by itself and inserts a menu item in the corresponding Context Menu. However, I am trying to make the field detect some specific string like a postal code in an address or any other string indicating the address.I have read that this can be done using the StringPattern or the PatternRepository.However m unable to figure out how it can be achieved. Can anyone plz give me a reference snippet for the same? Thanks in advance.. :smile:

Dougsg38p 04-13-2010 08:06 PM

Have you looked at the knowledgebase? There is an article with a link to a code example.

Livelink - Redirection


All times are GMT -5. The time now is 06:36 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.