splice method

String splice({
  1. required String motif,
})

Returns this sequence with all occurrences of motif removed.

Implementation

String splice({required String motif}) {
  String vMotif = _validateSeq(seq: motif);
  return seq.replaceAll(vMotif, '');
}