• Welcome to Valhalla Legends Archive.
 

This Code look right :/

Started by blinkdude, July 12, 2003, 03:54 AM

Previous topic - Next topic

______

your code works fine for me with tags

blinkdude

lol i had his name spelled wrong
<Total-Assault@Azeroth> WTF IS THIS CLAN A BUNCH OF NERDS?
<Yoni[vL]@Azeroth> Yes.
<Grok> Yes.
<[vL]Kp> You sound surprised.
<Total-Assault> at least they admit it
&

Camel

Public Function Matches(ByVal UserName As String, ByVal Format As String) As Boolean
   'MSDN: Note   To match the special characters left bracket ([), question mark (?), number sign (#), and asterisk (*), enclose them in brackets. The right bracket (]) can't be used within a group to match itself, but it can be used outside a group as an individual character.
   Format = Replace(Format, "[", "[[]")
   Format = Replace(Format, "#", "[#]")
   Matches = (UserName Like Format)
End Function