title: Gremlin: Is there a way to find the character based on the index of a string?
body: <p>I have vertex "office" and property "name" on OrientDB. I want to find the offices, by name, where the name does not have a "-" as the third character of the string. I imagine this would require some java code within the gremlin query.This is my best attempt, but it is resulting in office names that do in fact have a "-" as their third character.</p>
  
  <p><code>g.V().hasLabel('office')
  .where(values('name').map{it.get().charAt(2)}.is(neq('-')))
  .project('Office Name')
  .by(values('name'))</code></p>