问题:提取check之后的数字 来源:Excelhome Sub 提取数字() Dim regexp As New regexp With regexp .Pattern = "check\s*(\d+)" End With With Worksheets("sheet1") r = .Cells(.Rows.Count, 1).End(xlUp).Row arr = .Range("a1:b" & r) For i = 1 To UBo
public class Test { //要进行截取操作的字符串 static String ss; //截取的字符串的字节数 static int n; public static void main(String[] args) { System.out.println("请输入字符串:"); //从键盘获取字符串 Scanner scStr = new Scanner(System.in); //将Scanner对象中的内容以字符串的形式取出来 ss = scStr.next(