indexOfPartByTex method
Implementation
int indexOfPartByTex(String tex,
{bool substring = true, bool caseSensitive = true}) {
var part =
getPartByTex(tex, substring: substring, caseSensitive: caseSensitive);
return indexOfPart(part);
}