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
  • 1.  Whitespace in string

    Posted Thu July 01, 2004 03:28 PM

    Hi
    Could anybody let me know how to find a white space in the string. I have to make some logic on string if there is ant white space in it.

    Thanks
    siddhu


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


  • 2.  RE: Whitespace in string

    Posted Thu July 01, 2004 04:02 PM

    Siddhu,

    In the flow do a Branch operation on the string and place 2map steps under the branch and make use of Regular Expression on the first mapstep label (/. /)and second map label will be $default.

    So if there is any white space in the string then first map will execute if not second map will execute.

    HTH,

    HTH


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


  • 3.  RE: Whitespace in string

    Posted Tue July 13, 2004 05:04 PM

    Couldn’t you use pub.string.length and check for the length of the string where value = null


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