public static List<GCountryExtend> GetList() { try { var result = new List<GCountryExtend>(); using (ServiceManager<IGCountry> sm = new ServiceManager<IGCountry>()) { result = sm.Service.GetExtendListByWhere(string.Empty); //处理中国优先
public class F { public static void main(String[] args) { /**截取字符串,第4位以后的字符串用*代替*/ String s = "Hello Java World"; System.out.println("直接输出:" + s); String a = s.substring(4,s.length()); for (int i = 0;i < a.length() ; i++){ a = a.rep
package test; public class Testlianxi { public static void main(String[] args) { //判断fgh是否是字符串的最后一位 String str1="abcdefgh"; String str2="fgh"; int a = str1.lastIndexOf(str2); System.out.println("a="+a); int b = str1.length();