Hi:I need to parse both dynamic text and text formatting tags to get to the actual displayed text string. I couldn't find an ArcObjects method that does that.Has anybody developed such parser and if so how can I access it? I would expect that it would be based on Regular Expresssions (regex). I am using .NET.Thanks,Dennis
Dim theString As String = "blah1 blah2 blah3" Dim rx As New Regex("blah2(.*?)") Dim matches As MatchCollection = rx.Matches(theString) For Each match As Match In matches Dim groups As GroupCollection = match.Groups MsgBox("Found :" & groups.Item(0).Value() & groups.Item(1).Value) Next
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.