Stephen Mallette created TINKERPOP-2334: -------------------------------------------
Summary: Add format() step Key: TINKERPOP-2334 URL: https://issues.apache.org/jira/browse/TINKERPOP-2334 Project: TinkerPop Issue Type: Improvement Components: process Affects Versions: 3.4.4 Reporter: Stephen Mallette Assignee: Stephen Mallette Provide for a {{format()}} step which will handle result formatting to string values. This change will help resolve the need for string concatenation functions while providing a lot of flexibility to how results can be formed: {code} gremlin> g.V().hasLabel('person').format("%{n} is %{a} years old.").by('n', 'name').by('a', 'age') ==>marko is 29 years old. ==>vadas is 27 years old. ==>josh is 32 years old. ==>peter is 35 years old. gremlin> g.V().hasLabel('person').format("%{name} is %{age} years old.") ==>marko is 29 years old. ==>vadas is 27 years old. ==>josh is 32 years old. ==>peter is 35 years old. {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)