remove String Function

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


The remove function eliminates the specified part of a string and returns the remaining string. 




// this format is supported only in the free flow scripting mode of Script builder.

The remove function syntax has the following arguments.

string - Required. The main string from which you what to remove the specified string (substring).

substring - Required.  The string to be removed from within the main string (string).



Name = "ZohoCreator";

Name.remove("Zoho")  //returns "Creator" 


Name = "ZohoCreator";

remove(Name,"Zoho")  //returns "Creator"