removeAllAlpha()
Table of Contents
Overview
The removeAllAlpha() function takes a string as an argument. It removes the letters from the string and returns all the other characters (including spaces).
If there are only letters in the string, this function will return an empty string.
Return Type
- Text
Syntax
<variable> = <string>.removeAllAlpha();
(OR)
<variable> = removeAllAlpha(< string> );
Parameter | Description | Data type |
---|---|---|
<variable> | Variable which will contain the returned string. | TEXT |
<string> | The string from which all the characters except letters will be returned. | TEXT |
Examples
Product="Zoho Creator 5";
newText = Product.removeAllAlpha(); // returns " 5"
newText = Product.removeAllAlpha(); // returns " 5"