How can I get the contents of a string before a particular character?
<p>I want to get the previous chars from a certain char in a string.
For example: myString = "26+", so I want to get 26 without +. How can I do this?</p>
