SPARK-2407: Added Parser of SQL SUBSTR()

follow-up of #1359