Thread: vbscript help
View Single Post
Old 2008-11-12, 14:42   #17
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

3×7×53 Posts
Default

More hot tips!

Ok, here is what I did in those sections
Const C = ",Free-DC,AMDUsers,ArsTechnica,.....

if Left(str_CurrentLine,5) = "user=" Then
MyArray = Split(str_CurrentLine,"=",-1,1)
Team_Name = MyArray(1)
UserName = Team_Name
arrMyTeamName = Split(Team_Name,"_",-1,1)
If InStr("," & arrMyTeamName(0) & ",", C) > 0 Then
UserName = arrMyTeamName(1)
End If

But it doesn't strip the Team_ from UserName
IronBits is offline   Reply With Quote