Skip to content

Add string helper library #42

@codeforester

Description

@codeforester

Context

The latest review called out the absence of a string helper library as the largest functional gap for broader adoption.

Scope

Design and add a lib_str.sh companion library for common Bash string operations, likely including:

  • trim whitespace
  • upper/lower-case conversion
  • split by delimiter
  • join arrays
  • contains / membership checks

The API should follow the existing sourceable-library conventions, include BATS coverage, and document stdlib dependency and usage examples.

Validation

  • Focused lib_str.sh BATS coverage
  • ./tests/validate.sh
  • `git diff --check

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or product improvement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions