Yogesh Chauhan's Blog

The ALPHA function in Envision Basic

in Envision Basic on January 1, 2022

The ALPHA function checks if a string is made of alphabetic characters entirely.

The ALPHA function is helpful to check if any string has characters other than alphabetic like special characters, escape sequences, the null value, etc.



If a string is made entirely of alphabetic characters, the function returns 1.

If a string has numeric or other characters, the function returns 0.

If a string is empty or has a null value, the function returns 0.

The ALPHA function returns zero instead of converting the characters.


String contains a numeric character

ALPHA.RESULT will have value 0.


String contains only alphabetic characters

ALPHA.RESULT will have value 1.


An Empty String

ALPHA.RESULT will have value 0.


Most Read

#1 How to add Read More Read Less Button using JavaScript? #2 How to check if radio button is checked or not using JavaScript? #3 Solution to the error “Visual Studio Code can’t be opened because Apple cannot check it for malicious software” #4 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #5 How to uninstall Cocoapods from the Mac OS? #6 PHP Login System using PDO Part 1: Create User Registration Page

Recently Posted

#Apr 8 JSON.stringify() in JavaScript #Apr 7 Middleware in NextJS #Jan 17 4 advanced ways to search Colleague #Jan 16 Colleague UI Basics: The Search Area #Jan 16 Colleague UI Basics: The Context Area #Jan 16 Colleague UI Basics: Accessing the user interface
You might also like these
Does :is() pseudo selector hint at CSS preprocessing in the future?CSSThe Drupal flowDrupalSolution for Xcode 11 Command PhaseScriptExecution failed with a nonzero exit code errorMiscellaneousCreate a simple bar chart and column chart using pure CSS gridCSSLearn to Make a Simple Contact Us Form using PHP and PDO-MySQLPHPHow does Binding work in JavaScript?JavaScriptWhat happens when we add Numbers and Strings in JavaScript?JavaScriptWhat are components in Angular?AngularHow to make WordPress main stylesheet (style.css)?WordPressNumber Properties in JavaScriptJavaScriptCSS Attribute SelectorsCSSHow to add Local State to a Class in React?React