WELCOME Abdennour : Software engineer

Aug 14, 2013

Sub List /Sub Array / Sub Collection with groovy



def  big=["azeae","azeazeaz","dfsdfsdf","kjkjk","ghf"];



____________________________________________
def sub1=big[2..big.size()-1]
 
>["dfsdfsdf","kjkjk","ghf"];



___________________________________________
def sub2=big[1..big.size()-2]
 
>["azeazeaz","dfsdfsdf","kjkjk"];

2 comments:

  1. Wow. This really made my day. Thanks a lot!
    JQuery Training JQuery Training Javascript JQuery Online Training

    JQuery Online Training JQuery Online Training Javascript Online Training JQuery Training

    JavaScript Training Courses

    ReplyDelete
  2. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in JQUERY
    , kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on JQUERY. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us:
    Name : Arunkumar U
    Email : arun@maxmunus.com
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –http://www.maxmunus.com



    ReplyDelete