Creator Help


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


The removeLastOccurence function removes the last occurence of the second argument string from the first argument string. Returns the remaining string.


removeLastOccurence(str1 , str2)

The removeLastOccurence function syntax has the following arguments.

str1 - Required. The main string from which you what to find the  last occurence of the second argument string (str2).

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



Name= "This is a test string";

removeLastOccurence(Name,"s") //returns "This is a test tring".  


Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: