public static <A, B> GraphTraversal<A, B> substring(final Scope scope, final int startIndex, final int endIndex) {
        return __.<A>start().substring(scope, startIndex, endIndex);
    }
@see GraphTraversal#substring(Scope, int, int)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/__.java