Home > Net > C # how to intercept a certain length of string specifies the beginning and end
C # how to intercept a certain length of string specifies the beginning and end
Time:10-08
[color=# FF0000 If inscribe R230101N, Nest Sheet 1122 0244 0,18,18 mm fraxinus mandshurica, 0,1,1, F, 0, R230201N, Nest Sheet 2121, 9.2, 2438.4, 9, 9 mm fraxinus mandshurica, 0,1,1, F, 0, R23b0004, roof (TO), 457.2, 421.2, northeast China ash, 18, 19 mm 1,1,1, B, 0 R23b0005, backplane (DE), 457.2, 421.2, northeast China ash, 18, 19 mm 1,1,1, B, 0 R23b0006, former pedal (FT), 90421.2, northeast China ash, 18, 19 mm 1,1,1, B, 0 R23b0007, after the pedal (BT), 90421.2, northeast China ash, 18, 19 mm 1,1,1, B, 0 Like the character above is through the TXT file open my idea is on the extraction of specified at the beginning of the "r" (lowercase), end ", "such as" r23b0004 "and then continue to intercept, access to a few Numbers shown in label1, save to the database after capture, then contrast and text box is the same (the contents of a text box input enter in contrast, does not need the button control), such as label1 number minus one, not the same as the pop-up warning, until label1 is 0,