static S trimSubstringAfter(S a, S b) { ret trim(substring(a, smartIndexOfAfter(a, b))); }