| To: | REALbasic NUG Italian <realbasic-nug.it@lists.realsoftware.com> |
|---|---|
| Subject: | Re: RegularExpressions |
| From: | Giovanni Gualeni <ggualeni@tiscali.it> |
| Date: | Tue, 24 Nov 2009 08:30:42 +0100 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.it-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.it-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <KTK2SD$ECD6A81F35FE8282552921E5E40ED0A0@libero.it> |
| References: | <KTK2SD$ECD6A81F35FE8282552921E5E40ED0A0@libero.it> |
| Reply-to: | REALbasic NUG Italian <realbasic-nug.it@lists.realsoftware.com> |
| Sender: | realbasic-nug.it-bounces@lists.realsoftware.com |
Il giorno 23/nov/2009, alle ore 10.38, ivanomonti@libero.it ha scritto: > devi lavorare di loop > ad esempio ogni volta che trovi una ricorrenza ( listbox ) > listbox.addrow ricorrenza >>> Esempio da manuale >>> >>> dim rg as New RegEx >>> dim myMatch as RegExMatch >>> >>> rg.SearchPattern="^" + ValoreDaCercare.text >>> myMatch=rg.search(CampoDoveCercare.txt) >>> >>> if myMatch <> Nil then >>> StaticText1.text=myMatch.SubExpressionString(0) >>> else >>> StaticText1.text="Text not found!" >>> End if Io lavorerei anche di loop (come da manuale) ma come identifico l'indice se la funzione appropriata (myMatch.SubExpressionCount) non mi da il valore che mi serve? Giovanni - - - - - - - - - - Windows ha un'utility per correggere automaticamente i problemi. Si chiama FDISK. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: RegularExpressions, ivanomonti\@libero\.it |
|---|---|
| Next by Date: | Re: RegularExpressions, Gilberto De Faveri |
| Previous by Thread: | Re: RegularExpressions, ivanomonti\@libero\.it |
| Next by Thread: | Re: RegularExpressions, Gilberto De Faveri |
| Indexes: | [Date] [Thread] [Top] [All Lists] |