Hope somebody can help me.
I wrote the following function which doesn't allow me to search text within text and return a result:
Function ErrorLabel (ErrorMessage as string) as string
If ErrorMessage = "modified" Or "weight" then
ErrorLabel = "Valid error"
End If
End Function
Can somebody please explain how I can introduce another function find or search that allows me to search within a text?
ErrorMessage = "modified" Or "weight"doesn't mean what you seem to think it means. You would needErrorMessage = "modified" Or ErrorMessage = "weight"