You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If not then I propose something like the following (I could create a feature request if needed)
Extract part of a string
substring
Returns a substring starting at index and for a given length, where length can be omitted such that the string returned is from the specified index until the end of the string.
substring (source, fromIndex, length)
take
Returns a string where only the first n characters are taken (at most)
Bonus: Could even be usable with lists of objects
take (source, count)
skip
Returns a string where the n first characters are skipped
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is something like the following exists?
If not then I propose something like the following (I could create a feature request if needed)
Extract part of a string
substring
Returns a substring starting at index and for a given length, where length can be omitted such that the string returned is from the specified index until the end of the string.
substring (source, fromIndex, length)
take
Returns a string where only the first n characters are taken (at most)
take (source, count)
skip
Returns a string where the n first characters are skipped
skip (source, count)
Examples
Could even have combinations
Beta Was this translation helpful? Give feedback.
All reactions