Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to control string trimming #15

Open
dev-juju opened this issue Sep 3, 2021 · 1 comment
Open

Option to control string trimming #15

dev-juju opened this issue Sep 3, 2021 · 1 comment

Comments

@dev-juju
Copy link

dev-juju commented Sep 3, 2021

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.

@jtarvainen
Copy link

+1 for this request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants