我的电脑中有一份文字材料,一读即构成我的java方案,现在我想制定一些标准。
here is my Notepad File :
#Students
#studentId studentkey yearLevel studentName token
358314 432731243 12 Adrian Afg56
358297 432730131 12 Armstrong YUY89
358341 432737489 12 Atkins JK671
#Teachers
#teacherId teacherkey yearLevel teacherName token
358314 432731243 12 Adrian N7ACD
358297 432730131 12 Armstrong EY2C
358341 432737489 12 Atkins F4NGH
当我从本说明中读到时,即获得我申请中的确切数据,但现在,如果这属于上述学生或教师的象征性存在,我想检查一下用户刚刚进入我主要网页(例如有象征性的“JK671”)的症状吗?
output should be like "the token JK671 belongs to Student "..
how could i achieve this ? thanks