[ https://issues.apache.org/jira/browse/SPARK-8247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14579919#comment-14579919 ]
Cheng Hao commented on SPARK-8247: ---------------------------------- I'll take this one. > string function: instr > ---------------------- > > Key: SPARK-8247 > URL: https://issues.apache.org/jira/browse/SPARK-8247 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > > instr(string str, string substr): int > Returns the position of the first occurrence of substr in str. Returns null > if either of the arguments are null and returns 0 if substr could not be > found in str. Be aware that this is not zero based. The first character in > str has index 1. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org