IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Split a stringlist into N size lits

  • 1.  Split a stringlist into N size lits

    Posted Thu October 06, 2016 11:38 AM

    Hi,

    I would need your help in splitting a string list into multiple N size lists. My requirement is I have a string list with 100 strings and I need to split that into 10 string lsits each containing 10 strings.
    Any help would be greatly appreciated.

    Thanks
    Kiran.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: Split a stringlist into N size lits

    Posted Thu October 06, 2016 03:44 PM

    Not quite sure if there is any OOTB service which directly does this job or by using appendToStringList (with some logic around it), however you can leverage the Java API and write your own java service.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Split a stringlist into N size lits

    Posted Sat October 08, 2016 06:56 AM

    There is no such BIS which serve your need. Write a java code to achieve the same.

    Thanks,


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB