|
|
Home » Visual Basic » Article
Function to Return Alpha Characters Only
|
| Article by: | Rodney (10/28/2003) |
|
| Summary: | These two functions combine to return only the A-Z,a - z and spaces in a given string. |
|
| Viewed: 42504 times |
Rating (10 votes): |
|
2.5 out of 5 |
|
|
|
Function to Return Alpha Characters Only
This code tested in VB.NET 2003
This function is used to return the new string without numeric characters
This function is used to return a Boolean TRUE of the Characters match A-Z or a-z or a space.
|
Select All Code
|
|
|
|
View highlighted Comments
User Comments on 'Function to Return Alpha Characters Only'
|
Posted by :
vashfish at 15:33 on Wednesday, April 26, 2006
|
I came up with a different way to implement IsAlpha that works with unicode:
[code]Private Function IsAlpha(ByVal sChr As String) As Boolean
IsAlpha = Asc(UCase(sChr)) <> Asc(LCase(sChr))
End Function[/code]
It's too bad the <> operator is case insensitive--that would get rid of the calls to Asc.
| |
Posted by :
anant.jain1974 at 05:08 on Saturday, September 27, 2008
|
Sir
I want create a dynamic report like user upload document files with out given variable and system should be print this report with data value of the variables
| |
Posted by :
anant.jain1974 at 05:10 on Saturday, September 27, 2008
|
i hv a prob in crystal toword function when i am using this like towords(409745.00) in that system print this value like four hundred nine thousand and seven fourty five and xx/100 instead of four lacs nine thousand seven hundred fourty five and nil paise, pl help me.
| |
|
To post comments you need to become a member. If you are already a member, please log in .
| RELATED ARTICLES |
Generate License Keys (such as CD keys on Microsoft software) by Brian Gillham
This class allows you to generate license keys, such as the CD keys on the case of most Microsoft software |
 |
Communicating with the Database (Using ADO) by Chaudhary Pradeep K. Roy
Using ADO to get connected with the database. |
 |
Visual Basic Read and Modify the Registry by Kenneth Ives
Perform the four basic functions to the Windows registry. Add, change, delete, and query. Allows you to to read registry values, and modify both keys and values.
|
 |
Generate an Array of Unique Random Numbers by Brian Gillham
This function will generate an ARRAY of TRULY random numbers. |
 |
Beginning Resource Files in Visual Basic by Kenneth Ives
Have you ever wanted to use graphics, such as icons, bitmaps, cursors, and AVI files? How about sound or even message box text? This can be an enormous amount of overhead. These are all examples of more files to keep track of when you distribute an application, DLL, or OCX. Lets find out how resource files can help.... |
 |
Visual Basic Compact/Repair Access Database Utility by Kenneth Ives
This utility will compact and repair the access database you select. It is actually more convenient to use this utility than do the same task with Access, because you don't have to save the database with a different name and then delete the old database when you are done: here, a temporary copy of the database is automatically created and deleted. |
 |
Creating a watermark in Excel with VBA by Kenneth Ives
Adding a watermark to an Excel spreadsheet using VBA. |
 |
Change Cursor to Hour Glass by Brian Gillham
A simple script to change the cursor to an hour glass. |
 |
Generate your own Random Numbers by Thaha Hussain
This simple program generates random numbers using the basic mathematical methods. |
 |
Analog Clock by Thaha Hussain
This program demonstrates Thaha Hussain's Clock Work Formula to paint an Analogue Clock. |
 |
| |