Creator Help

removeAllAlpha

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

Description

The removeAllAlpha function removes all the alpha characters from a given string and returns the remaining string. 

Syntax

<string>.removeAllAlpha()

(or)

removeAllAlpha(string)

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

The removeAllAlpha function syntax has the following arguments.

string - Required. The main string from which you want to remove the alpha characters. 

Example

text="Non alpha characters include 0-9 and !£$%^&*

text.removeAllAlpha();                           //returns 0-9 !£$%^&*

text="Non alpha characters include 0-9 and !£$%^&*"

removeAllAlpha(text);                           //returns 0-9 !£$%^&*

Top