Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Function CheckForward(ByVal Discipline As String, ByVal Name As String, ByVal Value As String) As Boolean
  2.         Dim tmp() As String = Split(Value, ",")
  3.         Dim found As Boolean = False
  4.         For i As Integer = 0 To UBound(tmp)
  5.             Dim tmp2() As String = Split(tmp(i), "|")
  6.             If Discipline = tmp2(0) And Name = tmp2(1) Then found = True
  7.         Next
  8.         Return found
  9. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement