Update query-builder.rst

expresion substr changed to substring as per
http://www.doctrine-project.org/jira/browse/DDC-382