string manipulation

Hi,I have a string //test/me/here.jsp. I want to change this to /test/me/here. Is there an efficent way to do this? Basically, i want to remove the .jsp from the end of the string and remove '/' from the begining of the string.Thanks,-V
[266 byte] By [viveksrinivasans] at [2007-9-30 21:21:03]
# 1
You can use the substring method of String.
UlrikaJ at 2007-7-7 2:53:20 > top of Java-index,Java Essentials,Java Programming...