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

feature: added more array access options #7

Merged
merged 1 commit into from
Mar 3, 2017
Merged

feature: added more array access options #7

merged 1 commit into from
Mar 3, 2017

Conversation

mlaggner
Copy link
Collaborator

@mlaggner mlaggner commented Mar 2, 2017

  • added index range access for arrays: ${array[m,n]}
    get a new array with a subset of the original array, starting with index m and n entries
  • added index range end access for arrays: ${array[m,]}
    get a new array with a subset of the original array, starting with index m until the end of the array
  • added string index access: ${string[m]}
    get the m. character of the string
  • added string range access: ${string[m,n]}
    get a substring starting with the offset m and n characters length
  • added string range end acess: ${string[m,]}
    get a substring starting with the offset m until the end of the string

m ... index/offset
n ... count/length

- added index range access for arrays: ${array[m,n]}
  get a new array with a subset of the original array, starting with index m and n entries
- added index range end access for arrays: ${array[m,]}
  get a new array with a subset of the original array, starting with index m until the end of the array
- added string index access: ${string[m]}
  get the m. character of the string
- added string range access: ${string[m,n]}
  get a substring starting with the offset m and n characters length
- added string range end acess: ${string[m,]}
  get a substring starting with the offset m until the end of the string

m ... index/offset
n ... count/length
@DJCordhose DJCordhose merged commit 9b77d53 into DJCordhose:master Mar 3, 2017
@DJCordhose
Copy link
Owner

Great addition, thanks a lot for contributing!

@mlaggner
Copy link
Collaborator Author

mlaggner commented Mar 5, 2017

thanks.
Are there any plans for releasing v4.0.0 to maven?

@DJCordhose
Copy link
Owner

Hey, would be the the perfect time now. Not sure why, but I always have a hard time making releases to maven central. Would you like to do that?

@DJCordhose
Copy link
Owner

Everything is prepared for a release, just need someone to help me with #6

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 this pull request may close these issues.

2 participants