string str="sd 12 332 sdk ;;; ~! dfj3"; system.out.println(str.length()); int num=0;//数字 int letter=0;//字母,包括大写和小写 int space=0;//空格 int other=0;//其他 for(int i=0;i<str.length();i++){...
解决方案-还是没太懂你的意思、string 有一个contains 方法、-解决方案-用正则表达式呗,例如 j**a code public class test { public static void main(string[]args){ string line=投资费用_股票交易费用;pattern pattern=pattern.compile(投资费用.*?交易费用);matcher ...
using system; using system.security; using system.security.cryptography; using system.io; using system.text; using system.threading; namespace trip3des { ///<summary> /// class1 的摘要说明。 ///</s...