Description: Write a string interception console operation, the input is a string and the number of bytes, output intercepted by byte string. But to ensure that the kanji is not truncated half, such as " I ABC" , 4, should be cut for " AB" , input " I ABC Han DEF, 6, should be output for" ABC " instead of" I ABC+ Han half. "
To Search:
File list (Check if you may need any files):
SubStringTest.java