Trims Jar path string