Skip to content

Option to control string trimmingΒ #15

@dev-juju

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.

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