Remove last set of value from a comma separated string in java
<p>I wan to remove the last set of data from string using java.
For example I have a string like <code>A,B,C,</code> and I want to remove <code>,C,</code> and want to get the out put value like <code>A,B</code> . How is it possible in java? Please help.</p>
