IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  subString in wtx map

    Posted 06/27/14 04:27 PM

    Originally posted by: jourdanss


    Hi, I need help with a subString,

    I have this field:

    =idDeudor:sequence:solicitud:sequence:entrada_xml

    but I want just the two first characters.

    How I can do a subString?

    I tried that    =SUBSTRING(idDeudor:sequence:solicitud:sequence:entrada_xml,0,2)

    Thanks, Jourdan.   


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: subString in wtx map

    Posted 06/29/14 03:40 PM

    Originally posted by: RichMcFate


    Jourdan -- WTX uses a combination of functions (LEFT, RIGHT, MID) to perform substring operations.

    Try LEFT(idDeudor:sequence:solicitud:sequence:entrada_xml,2)

    For future reference, there's a well-written document that describes all of the functions WTX uses.

    http://pic.dhe.ibm.com/infocenter/wtxdoc/v8r4m1/index.jsp?topic=%2Fcom.ibm.websphere.dtx.funcexp.doc%2Fconcepts%2Fc_funcs_express_Expressions_and_Evaluations.htm

    Rich


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: subString in wtx map

    Posted 07/03/14 10:36 AM

    Originally posted by: jourdanss


    Thanks Rich, works really well, solve my problem.

    Thanks,

    Jourdan.


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 4.  Re: subString in wtx map

    Posted 06/30/14 11:21 AM

    Originally posted by: paul.brett


    ...and if the Infocenter isn't your cup-o-tea, then perhaps you could peruse the Redbook on IBM WebSphere Transformation Extender:

    IBM WebSphere Transformation Extender 8.2

    It may be for an older version, but it still contains some great information.

    Thank-you.

    Paul.

    Follow me on Twitter


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 5.  Re: subString in wtx map

    Posted 07/03/14 10:38 AM

    Originally posted by: jourdanss


    Thanks for your info Paul, I check it.

    Thanks,

    Jourdan.


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender