Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Array functions - English

4445 visits



Outline:

1. push Add element at the end of an array 2. pop Remove element from the end of an array 3. unshift Add element at the start of an array 4. shift Remove element of an array from the start. 5. split This function splits the string and makes an array of it. 6. qw qw stands for “Quoted word” It returns a list of word separated by white spaces. 7. sort sorts the array in alphabatical order.