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 Solution to the error “Visual Studio Code can’t be opened because Apple cannot check it for malicious software” #2 How to add Read More Read Less Button using JavaScript? #3 How to check if radio button is checked or not using JavaScript? #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
SQL GROUP BY StatementSQL/MySQLHow to create a simple stopwatch using JavaScript?JavaScriptThe simple difference between var, let and const in JavascriptJavaScriptNew to  Drupal? Here’s What You Need to KnowDrupalWHERE Clause in PostgresPostgresThe fundamental difference between HAVING and WHERE clauses in PostgresPostgresSteps to Install Microsoft SQL Server on a MacOSSQL/MySQLWordPress get_posts ExamplesWordPressWhat is Hoisting in JavaScript?JavaScriptWhat does Containment mean in React?ReactList of all Pseudo Elements in CSSCSSDROP DATABASE (remove a database) from PostgresPostgres