removeInOrderSoThat static method

String removeInOrderSoThat(
  1. String source
)

Implementation

static String removeInOrderSoThat(String source) {
  final regex = RegExp(r'^(so that|in order to)\s+', caseSensitive: false);
  return source.replaceFirst(regex, '');
}