You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Cole Greer (Jira)" <ji...@apache.org> on 2024/08/28 00:03:00 UTC

[jira] [Assigned] (TINKERPOP-3083) The split() step should provide a way to split an entire string

     [ https://issues.apache.org/jira/browse/TINKERPOP-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cole Greer reassigned TINKERPOP-3083:
-------------------------------------

    Assignee: Cole Greer

> The split() step should provide a way to split an entire string
> ---------------------------------------------------------------
>
>                 Key: TINKERPOP-3083
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3083
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: language, process
>    Affects Versions: 3.7.2
>            Reporter: Kelvin Lawrence
>            Assignee: Cole Greer
>            Priority: Critical
>
> There are many use cases where it is helpful to be able to split an entire string into an array of characters. In other query languages, passing in a null string ('') as the parameter achieves this. I believe the Gremlin step should behave the same way. For example
> Current behavior
> {code:java}
> g.inject('Hello').split('')
> ['Hello']{code}
> Proposed new behavior
> {code:java}
> g.inject('Hello').split('')
> ['H','e','l','l','o']{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)