Skip to content

Option to control string trimming #15

Description

@dev-juju

Is your feature request related to a problem? Please describe.
Strings are always left trimmed? Also strings are never right trimmed? Seems like a very narrow implementation. Trimming should be optional.

Example input: "00123 -- vh4 ll9 whu "
if my start is 6 or 7 for example,
the returned string is: "-- vh4 ll9 whu "
but expected string is: " -- vh4 ll9 whu "

Describe the solution you'd like
Can you add a config option to specify whether strings should be trimmed. We should be able to specify if we want left trimming, right trimming, none or both.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions