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.  QUESTION Line Feed Characters

    Posted Tue September 24, 2002 06:18 PM

    What is the best way to convert a string list to a string, separated by the \r\n linefeed character?

    I know that I can write a Java service, but what about using pub.string:makeString? I can set the Service In separator variable to a line feed by right-clicking in the text box to select a “Larger Editor” and then hitting <Enter>. I do not know, however, how this <Enter> character is intrepreted by the Integration Server.

    Any thoughts?


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


  • 2.  RE: QUESTION Line Feed Characters

    Posted Tue September 24, 2002 06:26 PM

    It may be platform dependent, but I’m not sure. Run a test with it and see what the result tab shows. If you see two square boxes (non-printable chars) in upper pane, then you’ve got \r\n. If only one appears, then you’ve got \n.


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


  • 3.  RE: QUESTION Line Feed Characters

    Posted Tue April 22, 2003 08:41 AM

    You will get a \n with this method, on Windows or Unix.
    This will be fine for most Windows editors, but not for Notepad.


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


  • 4.  RE: QUESTION Line Feed Characters

    Posted Tue April 22, 2003 11:13 PM

    Dan,

    you cna use the pub.string:makeString service and set the “separator” parameter with a tab delimiter (grab this from the notepad or text editor which is tricky).This should give the final string with new line character for each record.

    HTH.


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