Choose where you’d like to start

remove()

Overview

The remove() function takes string and searchString as arguments. It returns the string after removing the searchString from it.

If the searchString is not present in the string, it will return the string as it is.

Note:   This function performs a case-sensitive search.

    Return Type

    • Text

    Syntax

    <variable> = <string>.remove( <searchString> );

    (OR)

    <variable> = remove( <string>, <searchString> );
    ParameterDescriptionData type
    <variable>Variable which will contain the returned string.TEXT
    <string>The string from which the searchString will be removed.TEXT
    <searchString>The searchString which will be removed from the string.TEXT

    Examples

    Product="Zoho Creator";
    newText = Product.remove("Creator");      // returns "Zoho "

    Get Started Now

    Execute