Snowflake Sql String Functions Substring Method In Apex