Testing for a character in a string

I just had one quick question, is it possible to test for one character in a string? Example of what I mean, test for '-' in the string amount(-22.26) and if yes store '-' in variable "minus".
https://stackoverflow.com/questions/3300743/i-want-to-see-if-a-character-is-present-in-a-string

Yes. It's possible.

Yes, you may find search engines useful in your programming endeavors.

Yes, documentation sometimes contains useful information.
Topic archived. No new replies allowed.