Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Adding and Removing range of items from a list in C#

Many times, we being the developers come across a scenario where we need to Add or Remove a range of Items in a list. In c# we have a function called AddRange to add a range of same data type elements in to a list that also has the same data type.

Using splice() to Remove Elements in Javascript

Basically splice() method is used to change the content of an array by removing existing element and add new elements . It contain three parameter start , deletecount and ItemN. start ->It is the position where to start the selection .And if you

How to cut a String in C#

String.Substring :-To remove characters from begining use like this:- string a = "India"; string sub = a.Substring(0, 3); // Here 0 means from which character you have to start cutting. Index will start from 0 // 3 means how many character you wa

How to remove default text on textbox focus

Remove text from a textbox on focus and getting the text again after loosing focus Use below .aspx code to make a textbox remove the default text on focus and again get the default text if the user leaves the textbox blank. <asp:TextBox ID="txtS

How to remove url from Google

Hi, If your old page url that are currently not available is showing up in Google search result page and you don't want them to come up in search result page means you want to remove them form search result page/Google for this you have to perform th

How to remove a HTML element using Jquery

Hello reader's, Below is the example to Remove the HTML element using Jquery If you having trouble with such issues, then use the below code. Here is the HTML <p>Write your text here.</p> <p>Write your text here.</p> <

How to remove header and footer in print

When we print some html page bydefault the header and footer comes. On different browsers its in different way. To remove it from chrome use @page{ size: A4; margin: 5mm; /* this affects the margin in the printer settings */ } Thi

Remove Leading, Trailing and other consecutive white spaces in a string in RoR

There are innumerous ways to remove extra white spaces from a string in Ruby on Rails. Here i am demonstrating 3 ways which you can use to achieve the desired result. 1> squish function : This function was introduced in Rails framework, this i

User default in swift

Hi , To use userDefault in swift we can use below code to 1- Save value in userDefaults for a key 2-  Fetch value for a key 3- Remove value for a key 4- Remove all value Here is the code -   //Save a value in NSUserDefaults in swift

.empty() vs .remove() vs .detach() - jQuery

.empty() : All the child element of the matched element are removed by this method i.e the element will not be removed only the content of all DOM elements in the matched set are removed. .remove() : This method removes the matched element

1 6 127
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: