Posts

Showing posts from March, 2013

JavaScript - Remove Duplicate Values from Arraylist String

JavaScript - Remove Duplicate Values from Arraylist String By:  Suresh Dasari   Mar 12, 2013 Categories:  General ,  Javascript Introduction Here I will explain how to use  JavaScript   to remove duplicate values from array or remove duplicate values/elements from string array using   JavaScript .  Description: In previous article I explained  Show number of characters left in text using JavaScript ,  Set watermark text for textbox using JavaScript ,  JavaScript Automatically move cursor to next field when textbox full  , JavaScript add bookmark link to website  and many articles relating to  JavaScript ,  jQuery ,  SQL ,  asp.net etc. Now I will explain how to remove duplicate values/elements from string array using  JavaScript . To remove duplicate values/elements from string array using  JavaScript   we need to write the code like as shown below ...

C# - Remove Last Character from String in VB.NET

C# - Remove Last Character from String in VB.NET By:  Suresh Dasari   Mar 13, 2013 Categories:  C#.Net ,  Code Snippets ,  VB.NET Introduction:  Here I will explain how to remove last character from string in  c# ,  vb.net  using  asp.net . Description :     In previous posts I explained  jQuery Remove first or last characters from string ,  Delete selected rows from datatable in c#, vb.net ,  jQuery get number of facebook likes, shares, comments count for url  and many articles relating to  Asp.net ,  Gridview ,  Ajax ,  JQuery . Now I will explain how to remove last character from string in  c# ,  vb.net  using  asp.net . To implement this functionality we have different methods   Method 1 in C# protected   void  Page_Load( object  sender,  EventArgs  e) { string  istr =  "1,2,3,4,5,6,7,8,9,10," ; ...

C# Split String Example in VB.NET | Split String with Special Characters (comma, underscore etc)

C# Split String Example in VB.NET | Split String with Special Characters (comma, underscore etc) By:  Suresh Dasari   Mar 13, 2013 Categories:  C#.Net ,  Code Snippets ,  VB.NET Introduction :  Here I will explain how to split string in  c# ,  vb.net  using  asp.net  or split string with special characters in    c# ,  vb.net  or  Split String with Comma, Space in    c# ,  vb.net . Description :     In previous posts I explained  Remove last character from string in C# ,  jQuery Remove first or last characters from string ,  SQL Server Query to remove first last characters from string , and many articles relating to  Asp.net ,  c# ,  vb.net ,  JQuery . Now I will explain how to split string in  c# ,  vb.net  using  asp.net . To split string we need to write the code as shown below Split String with one cha...