Regular expression
1 posts in topic
Flat View  Flat View

Posted By:   Srikanth_Basavaraju
Posted On:   Friday, October 7, 2005 03:36 PM

I have two strings string1 and string2

string1 is a regular expression and string2 is a normal string. I need to check if the string2 starts with the regular expression as defined by string1. If yes then I need to get the end index up to which the regex matches in string2 ... how do I do that ?


Re: Regular expression

Posted By:   Srikanth_Basavaraju  
Posted On:   Saturday, October 8, 2005 12:10 PM

Got it... actually I was trying with incorrect value...

I used apt method public boolean lookingAt() but the string value was incorrect.

About | Sitemap | Contact