public static String stripSegmentName(String filename) {int idx = indexOfSegmentName(filename);if (idx != -1) {filename = filename.substring(idx);}return filename;}
public static string StripSegmentName(string filename){int idx = IndexOfSegmentName(filename);if (idx != -1){filename = filename.Substring(idx);}return filename;}