📅  最后修改于: 2022-03-11 14:56:06.758000             🧑  作者: Mango
if (newStr4.startsWith("Mon") || newStr4.startsWith("Tues") || ...)
Or you could use regular expression:
if (newStr4.matches("(Mon|Tues|Wed|Thurs|Fri).*"))