Skip to content

Commit

Permalink
also update strpos function help (followup 2a557db)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Nov 20, 2015
1 parent fbb3dc5 commit 90053c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/function_help/json/strpos
@@ -1,10 +1,10 @@
{
"name": "strpos",
"type": "function",
"description": "Return the first matching position of a substring within another string, or -1 if the substring is not found.",
"description": "Return the first matching position of a substring within another string, or 0 if the substring is not found.",
"arguments": [ {"arg":"haystack","description":"string that is to be searched"},
{"arg":"needle","description":"string to search for"}],
"examples": [ { "expression":"strpos('HELLO WORLD','WORLD')", "returns":"6"},
{ "expression":"strpos('HELLO WORLD','GOODBYE')", "returns":"-1"}
"examples": [ { "expression":"strpos('HELLO WORLD','WORLD')", "returns":"7"},
{ "expression":"strpos('HELLO WORLD','GOODBYE')", "returns":"0"}
]
}

0 comments on commit 90053c5

Please sign in to comment.