Step - substring

substring ยท category: Strings and type conversion

Yields the part of each string from start (to end, exclusive); negative positions count from the end.

Forms

substring(arg1: i64)
substring(arg1: Scope, arg2: i64)
substring(arg1: i64, arg2: i64)
substring(arg1: Scope, arg2: i64, arg3: i64)

Example

g.v(1).values("name").substring(1, 3).next()   // ar