Intercept the first 5 bytes of the following string "java program tutorial", the string should be "java program", intercept the first 6 characters, the string should also be "java program", the program implements.