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

Find First Occurance of newline character in flow

  • 1.  Find First Occurance of newline character in flow

    Posted Thu February 10, 2011 08:20 AM

    Can anybody tell me how to find the first oocurance of new line character in flow?

    I have used indexOf(); but it does not produce the right result.

    Cheers,
    Sasanka


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


  • 2.  RE: Find First Occurance of newline character in flow

    Posted Thu February 10, 2011 11:48 AM

    It works using indexOf service… in the subString field, give a new line character. (not as \n, but open it in large editor and enter once, cursor will move down one line)


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