I made an improved version of String Subset:
If offset is non-negative, the returned string will start at the offset# position in string, counting from zero.
If offset is negative, the returned string will start at the offset# character from the end of string.
If length is given and is positive, the string returned will contain at most length characters beginning from start (depending on the length of string).
If length is given and is negative, then that many characters will be omitted from the end of string (after the start position has been calculated when an offset is negative).
It would be nice if it could work like this by default (no additional inputs needed)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.