About the author

Imran Imran
Like Development in DotNet.

E-mail me Send mail

Recent Articles

 
1: Roles And Membership
Category: ASP.Net
Added: 6/2/2008

 
2: ListView and DataPager in ASP.NET 3.5
Category: ASP.Net
Added: 5/15/2008

 
3: Asp.Net Cookies
Category: ASP.Net
Added: 5/8/2008

 
4: DatagridDatalistRepeater
Category: ASP.Net
Added: 5/8/2008

 
5: mySql With Asp.Net
Category: Databases
Added: 4/16/2008

 
6: MDF without LDF
Category: Databases
Added: 4/16/2008

 
7: Disable Right Click
Category: Java Script
Added: 4/16/2008

 
8: String Functions
Category: ASP.Net
Added: 3/20/2008

 
9: Water Mark
Category: HTML & DHTML
Added: 3/20/2008

 
10: Ajax With Javascript
Category: AJAX
Added: 3/10/2008

String Functions

by Imran 20/March/2008

String Functions

Private Function RetMeta(ByVal MetaStr As String) As String
Dim arInfo() As
String
arInfo = MetaStr.Split(",")
Dim distinctStr As New ArrayList
For j As Integer = 0 To arInfo.GetUpperBound(0)
If Not distinctStr.Contains(arInfo(j))
Then
distinctStr.Add(arInfo(j))
End
If
Next
Dim tmp As String =
Nothing
For i As Integer = 0 To distinctStr.Count - 1
tmp = tmp & distinctStr.Item(i) &
","
Next
tmp = tmp.TrimEnd(",")
Return tmp
End
Function



Powered by DotNetClassic.com