T
Tim Soliday
I have been looking at regular expressions lately, and I'm hoping that
maybe someone could help me?
I am trying to find the position of a substring, and then returning the
substring including any information that I might want whether it is to the
left or right of that substring.
For example:
//Position of substring has already been determined
string sReturnData = sParseData.Substring(iIndexPosition, iLength);
Is there a way of doing this using regular expressions?
The code above is the equivalent to Visual Basic's Left, I think. (I do not
use VB so this would be a guess for me)
The reason why I want to use regular expressions is because my application
uses a c# scripting engine. It puts out a script file, and I want to allow
the user to change the script if they want to.
maybe someone could help me?
I am trying to find the position of a substring, and then returning the
substring including any information that I might want whether it is to the
left or right of that substring.
For example:
//Position of substring has already been determined
string sReturnData = sParseData.Substring(iIndexPosition, iLength);
Is there a way of doing this using regular expressions?
The code above is the equivalent to Visual Basic's Left, I think. (I do not
use VB so this would be a guess for me)
The reason why I want to use regular expressions is because my application
uses a c# scripting engine. It puts out a script file, and I want to allow
the user to change the script if they want to.