Can I get a substring in a query?

Would love your input and support for this feature request:

I know this is DQL specific and not GQL, but if these functions get added into DQL, then we could make another feature request about getting these functions supported as directives on string fields. That might look something like:

# directive defined
directive @function(func: Function! props: [String]) on FIELD_DEFINITION
enum Function {
  left
  lTrim
  replace
  reverse
  right
  rTrim
  split
  substring
  toLower
  toUpper
  trim
}

# example use
{
  message (func: uid(0x4e22)) {
    message @function(func: left, props: ["23"])
  }
}

Some good references:

https://www.apollographql.com/docs/apollo-server/schema/creating-directives/