Hi guys. Im 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 Im making is boolean, and its 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 cant 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 cant seem to get this to work. Any thoughts would be appreciated.
Thanks,
zm
Thanks,
zm