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 ?