Original Post
Hey all,
I am working on a program that will take an input string in postfix notation and will spit out the answer. I know using a stack is the best data structure for this. But, I am having a hard time with one part. How can I seperate the operand from the operator in the input string? I am using a string tokenizer, but when I get that token I am not sure how to go about identifying it. I tried to use several different pieces code but they were bulky and/or impractical. Does anyone know of a method in the String class that can save me this headache?
Thanks in advance