betweenFirst static method
Returns the smallest portion of subject between from and to.
Implementation
static String betweenFirst(String subject, String from, String to) {
if (from.isEmpty || to.isEmpty) return subject;
return before(after(subject, from), to);
}