Was this page helpful?

String.SearchEscape

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    string.SearchEscape(value : str) : str

    Escape special characters in string for use as a in lucene query.

    Usage Restrictions

    9.02 or later

    Parameters

    Name Type Description
    value str The unescaped string value.

    Result

    The escaped string

    Samples

      Output

    To replace a string with another string:

    {{ string.searchescape("+1 for this feature") }} 

     

    \+1 for this feature

     

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

    Copyright © 2011 MindTouch, Inc. Powered by