Skip to content

Strict

Terminal window
splitby --strict [selection...]
splitby --no-strict [selection...]

--strict enables all strict checks:

  • --strict-bounds
  • --strict-return
  • --strict-range-order
  • --strict-utf8

--no-strict disables them all.

Terminal window
echo "a b" | splitby -d " " --strict 3
# strict bounds error: index (3) out of bounds, must be between 1 and 2