Clarity

 View Only
  • 1.  How to use tokenize util tag

    Posted Jan 27, 2016 01:56 AM

    I went through this Xog-Gel Query requesting to help in my training Link but didn't understood Whats Tokenize is actually used for.
    Could any one help me out in Explaining with simple Example.

    Thanks All,



  • 2.  Re: How to use tokenize util tag
    Best Answer

    Posted Jan 27, 2016 12:37 PM

    It is being used to take an input (in a single chunk) and tokenize it (split into smaller pieces) based on a given delimiter.

     

    I.e. tokenizing "1,2.4,3" on the comma yields an array of three values, "1", "2.4", and "3".  Tokenizing the same input on the period yields an array of two values, "1,2" and "4,3".

     

    Please note per the documentation that use of the jelly:util tag library is deprecated.

     

    Reference: https://docops.ca.com/ca-ppm/14-3/reference/xml-open-gateway-xog-development/gel-tag-library-reference/utility-tag-libra…



  • 3.  RE: Re: How to use tokenize util tag

    Posted Jul 17, 2019 08:08 AM
    v14-3 is  not available at docops.ca. Same entry exist for v15.6 but there is not reference to :tokenize.

    https://docops.ca.com/ca-ppm/15-6-1/en/reference/xml-open-gateway-xog-development/xog-gel-scripting/xog-gel-tag-library/xog-utility-tag-library

    Anyway the official Jelly reference is always useful
    http://commons.apache.org/proper/commons-jelly/libs/util/tags.html#util:tokenize



  • 4.  RE: Re: How to use tokenize util tag

    Broadcom Employee
    Posted Jul 17, 2019 08:12 AM
    Here is 14.3 link https://docops.ca.com/ca-ppm/14-3/en/reference/xml-open-gateway-xog-development

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------