Was this page helpful?

Uri.Encode

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    uri.Encode(text: str) : str
    

    Encode text as a URI component.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    text str text to encode

    Result

    The passed in text is encoded.

    Samples

          Output

    encode the text:

    {{uri.encode("<b>Hi There</b>")  }}  

         

    %3Cb%3EHi+There%3C%2Fb%3E

         

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by