Function word4wordCheck(StrCURIn As String, StrTESTFieldin As String) As Boolean ' Dim ExtractWordsPhrase1() As String ' Dim ExtractWordsPhrase2() As String ' Dim WordCountPhrase1, WordCountPhrase2 As Integer ' Dim intLoop As Integer ' ' ExtractWordsPhrase1 = Split(Trim(StrCURIn), " ") ' ExtractWordsPhrase2 = Split(Trim(StrTESTFieldin), " ") ' '' 'If element count of arrays differ return false '' If UBound(ExtractWordsPhrase1) <> UBound(ExtractWordsPhrase2) Then '' word4wordCheck = False '' Exit Function '' End If ' ' 'Check each element of Array ' For intLoop = LBound(ExtractWordsPhrase1) To UBound(ExtractWordsPhrase1) ' If ExtractWordsPhrase1(intLoop) <> ExtractWordsPhrase2(intLoop) Then ' word4wordCheck = False ' Exit Function ' End If ' Next ' ' word4wordCheck = True End Function
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE