/ Published in: ASP
This function returns whether or not the value was found in the array
Expand |
Embed | Plain Text
function containsValue(arrayName, valueToFind) found = false for x = 0 to ubound(arrayName) if arrayName(x) = valueToFind then found = true end if next containsValue = found end function
You need to login to post a comment.
