Hi guys. I'm a bit new to this language, and currently I am having difficulty with writing a function for an algorithm testing if a string is in the correct format or not. The function I'm making is boolean, and it's purpose is to accept a string in percentage format (for example...1.23%, 1.23, or .0123 formats only). I have successfully made the algorithm so that the last two formats can be validated in their respective formats, however I can't figure out how to make an input that includes the "%" character to be validated. I have an idea of how to go about this with the right$(string, int) property (as in VB), but I can't seem to get this to work. Any thoughts would be appreciated.
Thanks,
zm
Thanks,
zm