Basically, I will have 2 strings...
str1 = "Code
str2 = "Type
I don't care what the "someNumber" is and don't care what the
Is there an easy way to do this?
Thanks all!
Bob
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AlanPosted Jun 28, 2007, 4:57 PM
if (str1.StartsWith("Code") || str1.StartsWith("Type"))
{
// do something
}