Bigquery Substring Method Definition