Hey,

Simple question, I'm just not thinking straight right now I guess.

Let's say you have a string:

apple#orange, or it could be apple#grape or any other word after the # sign.

How can I slice everything before the # sign? I can't just go Right(string, 6) because the length of the word on the right isn't always the same length.


Thanks!