List Manipulations - Clear

List Manipulations - Clear

This guide will help you with the following:
1. Overview
2. Syntax
3. Example

Overview

The clear deluge task empties a specified list by permanently removing all its elements.

Syntax

  1. <list_variable>.clear();

This task can be used in the following events

Example

1) The following snippet removes all elements in the specified list
  1. alldays = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"};
  2. alldays.clear( );

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                        Manage your brands on social media

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              Zoho Sheet Resources

                                               

                                                  Zoho Forms Resources


                                                    Secure your business
                                                    communication with Zoho Mail


                                                    Mail on the move with
                                                    Zoho Mail mobile application

                                                      Stay on top of your schedule
                                                      at all times


                                                      Carry your calendar with you
                                                      Anytime, anywhere




                                                            Zoho Sign Resources

                                                              Sign, Paperless!

                                                              Sign and send business documents on the go!

                                                              Get Started Now




                                                                      Zoho TeamInbox Resources



                                                                              Zoho DataPrep Resources



                                                                                Zoho DataPrep Demo

                                                                                Get a personalized demo or POC

                                                                                REGISTER NOW


                                                                                  Design. Discuss. Deliver.

                                                                                  Create visually engaging stories with Zoho Show.

                                                                                  Get Started Now









                                                                                                      • Related Articles

                                                                                                      • Map Manipulations - Clear map

                                                                                                        This guide will help you with the  following: Overview Syntax Example Overview The clear map deluge task empties a specified map variable by permanently removing all its key-value pairs. Syntax <map_variable>.clear(); This task can be used in the ...
                                                                                                      • List Manipulations

                                                                                                        The Create List Deluge syntax enables the creation of new list. A new list can be created in two ways: Using constructor. Using list functions that return list values as output / or by direct assignment of one list to another. Using constructor A ...
                                                                                                      • List Manipulations - Create list

                                                                                                        This guide will help you with the following: 1. Overview 2. Syntax 3. Example Overview The create list deluge task is used to declare a list variable. Syntax To declare a list variable <variable> = List();​ To declare a list variable with a string ...
                                                                                                      • List Manipulations - For each

                                                                                                        This guide will help you with the following: 1. For each element Overview Syntax Example Example 1: Iterate through a list Example 2: Send mail for every iteration 2. For each index Overview Syntax Example For each element Overview The for each ...
                                                                                                      • List Manipulations - Add Operation

                                                                                                        This guide will help you with the following: 1. Overview 2. Syntax 3. Examples Overview The add deluge task is used to add elements to an existing list. Syntax <list_variable>.add( <expression> ); This task can be used in the following events ...
                                                                                                        Wherever you are is as good as
                                                                                                        your workplace

                                                                                                          Resources

                                                                                                          Videos

                                                                                                          Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                          eBooks

                                                                                                          Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                          Webinars

                                                                                                          Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                          CRM Tips

                                                                                                          Make the most of Zoho CRM with these useful tips.



                                                                                                            Zoho Show Resources