I'm trying to test a string to see if it contains another string. I can't use myString.Contains("string") as the string I'm searching for has to be on the LHS of an "=" symbol. For example,
from: "NumberOfGroups = 8"
I want to be able to test if the string contains the text NumberOfGroups and if true retrieve the value 8. I know I can use the split function using "=" as the delimiter. Does anyone know if I can achive this usinging regular expressions? Thank You.