SyntaxFix
Write A Post
Hire A Developer
Questions
Google Apps Script is javascript, you can use all the string methods...
var grade = itemResponse.getResponse(); if(grade.indexOf("9th")>-1){do something }
You can find doc on many sites, this one for example.