Well, theoretically I don't limit it to 3 (not 2) "alternatives"... I stated this at the end of my article...
"I only allowed for three accented letters "ç", "é" and "ñ" (in both lower and upper case),
but you can add more if you wish by modifying the UpperAccentsOnly and UpperAndLowerAccents
constants (the Const statements at the beginning of the code)."
This allows the programmer the ability to change the function to meet their own personal needs, either permanently or temporarily, as the particular situation may require. The programmer is also free to turn the constant into a variable and modify the accented letters' list "on the fly" within the same application if the need arises to cater to such variability.





Reply With Quote

Bookmarks