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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  breaking a long string

    Posted 07/21/07 06:20 PM

    Hi all,
    I want to break a string of chars(say 400 chars) into a substrings of length 10.the end result here is 40 substrings,each of length 10.and I want these to be kept inside a stringlist.How do I do that…


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


  • 2.  RE: breaking a long string

    Posted 07/22/07 01:03 AM

    Shouldd have explained clearly…here it goes

    consider a string “aaaaa2aaaaabbbbb2bbbbbc2cccccdddddddddddd2dddddd2”
    I want to break he string at every 10th point

    aaaaa2aaaa
    abbbbb…

    and count the occuence of 2 in each line and the number of lines in total(using flow services)


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


  • 3.  RE: breaking a long string

    Posted 07/23/07 03:48 AM

    “I want these to be kept inside a stringlist” – answer to this quote is use append i.e. pub.list:appendToStringList

    HTH,
    RMG


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


  • 4.  RE: breaking a long string

    Posted 07/23/07 11:31 AM

    Use splitstring and break the string based on first index and last index to split the sting at 10th point


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


  • 5.  RE: breaking a long string

    Posted 07/23/07 06:18 PM

    just curious , where do we have splitstring ,can u give more details about where this specific utility exists .
    -sri


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