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 check if radio button is checked or not using JavaScript? #2 How to add Read More Read Less Button using JavaScript? #3 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #4 How to uninstall Cocoapods from the Mac OS? #5 PHP Login System using PDO Part 1: Create User Registration Page #6 How to Use SQL MAX() Function with Dates?

Recently Posted

#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 #Jan 14 How to display a student’s individual transcript in Colleague? #Jan 11 How to install PuTTY on a MacOS?
You might also like these
Kubernetes vs. Docker? It’s a misleading phraseMiscellaneousLEFT JOIN in PostgresPostgresHow to create ‘share on LinkedIn’ link using just HTML?HTMLColleague UI Basics: The Context AreaColleagueSolution to “NullInjectorError: No provider for module” in Angular 9Angular4 different ways to create JavaScript ObjectsJavaScriptKilling A Project Part 2: Who should make the decision to kill a project?MiscellaneousJavaScript String fromCharCode() MethodJavaScriptHow to disable right click and drag and drop of images using jQuery?jQueryDifferent Types of Functions in JavaScriptJavaScript5 Ways to Loop Through JavaScript ArraysJavaScriptClearwater Seafoods – B2C in ChinaMiscellaneous