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

additional find functions #2

Closed
barrust opened this issue Nov 29, 2019 · 1 comment · Fixed by #3
Closed

additional find functions #2

barrust opened this issue Nov 29, 2019 · 1 comment · Fixed by #3

Comments

@barrust
Copy link
Owner

barrust commented Nov 29, 2019

It would be beneficial to add a few more functions:

  • s_find_*_alt()
    • Would include a "position" of the delimiter, like the second, etc. and return the point to that version
  • s_find_*_cnt()
    • Would cnt the number of times the delimiter is found in the string
@barrust
Copy link
Owner Author

barrust commented Nov 30, 2019

Once we have a s_find_cnt_*() function, we can use that to estimate the number of lines needed for the s_split_string_*() functions!

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

Successfully merging a pull request may close this issue.

1 participant