def pdb_slice

bend-prot@0.1.0.0 · pdb.bend:22

import bend-prot@0.1.0.0/pdb.bend as Pdb
import Base

22# Fixed-column slice: 0-based start, length.
23def pdb_slice(s: String, start: Nat, len: Nat) -> String:
24  String.take(String.drop(s, start), len)

Uses (4)

Used by (3)