ecl-logo Documentation

StrandDrop

StrandDrop[str,n]out

returns a strand with the first n Monomers if n is positive, or the last n Monomers if n is negative, dropped from str.

Details

    Input
    Output

Examples

Basic Examples  (2)

Drop first two Monomers from Strand:

Drop last two Monomers from Strand:

Messages  (1)

invalidSpan  (1)

Throw an error if asked to drop more Monomers than exist in the Strand: