How do I use if statement to check if there is text in string array?

okaymy1112

Member
Joined
Aug 26, 2014
Messages
6
Programming Experience
Beginner
My shared sub, the strCitationNumbers string array can have a number or 'No match' text.
So I would like to add if statement to check what's in the strCitationNumbers.
If a number (string) is found in the strCitationNumbers, I want to output an error message saying 'Duplicate case'.
How do I do it?
VB.NET:
Shared Sub TestCitationGetCaseNumber()
        Dim strCitationNumbers() As String
        Dim strCitationNumber As String = "2770043451123"
strCitationNumbers = Msc.Integration.Mncis.Library.v4.Citation.GetCaseNumbersForCitation(strCitationNumber, False)   End Sub
 
Last edited:

Latest posts

Back
Top