Page MenuHomeFeedback Tracker

`select` expansion
Feedback, WishlistPublic

Description

@POLPOX's request to extend select's syntax

[0,1,2] select [0]; // returns []
// wished [0,1,2] - same as 'string select [0]', "from the index, to the end"
// e.g
[0,1,2] select [1]; // returns [1,2]

additionally, an extension for negative numbers? e.g "abcd" select [-2, 1] // "c" or "abcd" select [1, -1] // "bc"
based on e.g PHP's substr (I am already out 🚪🏃‍♂️)

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

LouMontana assigned this task to Killzone_Kid.
LouMontana lowered the priority of this task from Normal to Wishlist.
LouMontana added a subscriber: Killzone_Kid.
BIS_fnc_KK set Ref Ticket to AIII-55537.Jan 30 2023, 8:46 PM
BIS_fnc_KK claimed this task.

Revision: 150284 (no to negative index)

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Jan 30 2023, 8:52 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.