@Nonnull
	public static String cutOffAtFirst(@Nonnull String text, @Nonnull String cutoff) {
		int i = text.indexOf(cutoff);
		if (i < 0) return text;
		return text.substring(0, i);
	}
@param text
		Input text.
@param cutoff
		Sequence to match up to.

@return Input text, up until the first cutoff sequence.
recaf-core/src/main/java/software/coley/recaf/util/StringUtil.java