kelvinn86 Posted October 7, 2017 Share Posted October 7, 2017 Hi, can i know is it possible to perform letters check A-Z only from dialog input and prompt an error message if not letters? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
halam Posted October 7, 2017 Share Posted October 7, 2017 Maybe using 'wildcard search' in find & replace? https://support.office.com/en-us/article/Examples-of-wildcard-characters-939e153f-bd30-47e4-a763-61897c87b3f4 Quote Link to comment Share on other sites More sharing options...
kelvinn86 Posted October 7, 2017 Author Share Posted October 7, 2017 Maybe using 'wildcard search' in find & replace? Can I have some example? Thanks Quote Link to comment Share on other sites More sharing options...
halam Posted October 7, 2017 Share Posted October 7, 2017 Edited my reply ;-) google to thank Quote Link to comment Share on other sites More sharing options...
dan113 Posted October 7, 2017 Share Posted October 7, 2017 Wcmatch can test for any integer in a string https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-AutoLISP/files/GUID-EC257AF7-72D4-4B38-99B6-9B09952A53AD-htm.html Sent from my Pixel XL using Tapatalk Quote Link to comment Share on other sites More sharing options...
kelvinn86 Posted October 7, 2017 Author Share Posted October 7, 2017 Wcmatch can test for any integer in a string https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-AutoLISP/files/GUID-EC257AF7-72D4-4B38-99B6-9B09952A53AD-htm.html Sent from my Pixel XL using Tapatalk Thanks got it working for my lisp. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 7, 2017 Share Posted October 7, 2017 Good you got it working, another method is to look at the ascii code of the characters you can check for A-Z and or a-z. 65-90 97-122, (ascii "a") 97 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.