Creator Help

getSuffix

This topic describes the syntax and usage of the getSuffix function in Zoho Creator .

Description

The getSuffix function returns the string after the specified substring.

Syntax

<string>.getSuffix(substring)

(or)

getSuffix(<string> , <substring>)  //this format is supported only in the free flow scripting mode of Script builder. 

The getSuffix function syntax has the following arguments.

string - Required. The main string from which you what to get the suffix (substring).

substring - Required.  The string to be searched for within the main string (string).

Example

Name = "Create online database applications with Zoho Creator";

Name.getSuffix("with") //returns " Zoho Creator"

Name = "Create online database applications with Zoho Creator";

getSuffix(Name,"with") //returns " Zoho Creator"

Top