Was this page helpful?

String.SplitCsv

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    string.SplitCsv(text : str) : map

    Convert string containing a comma separated list of values into a collection of rows and columns.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    text
    str The string value.

    Result

    A map of number of columns, the values in a list separated by commas, and the number of rows.

    Samples


    Output

    To return a map of the string in rows and columns:

    {{ string.splitcsv("The Dark Side, of The Moon") }} 

     

    { columncount : 2, rowcount : 1, values : [ [ "The Dark Side", "of The Moon" ] ] }
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by