Skip to content

Commit

Permalink
Update right
Browse files Browse the repository at this point in the history
Add min cf version for negative count values
  • Loading branch information
pfreitag authored May 2, 2024
1 parent 95395f3 commit 4221343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/en/right.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{"name":"count","description":"An integer or a variable that contains one.\n Number of characters to return.","required":true,"default":"","type":"numeric","values":[]}
],
"engines": {
"coldfusion": {"minimum_version":"", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/right.html"},
"coldfusion": {"minimum_version":"", "notes":"The count can be a negative integer as of CF2018+", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/right.html"},
"lucee": {"minimum_version":"", "notes":"", "docs":"https://docs.lucee.org/reference/functions/right.html"},
"railo": {"minimum_version":"", "notes":"", "docs":"http://railodocs.org/index.cfm/function/right"},
"openbd": {"minimum_version":"", "notes":"", "docs":"http://openbd.org/manual/?/function/right"}
Expand All @@ -26,7 +26,7 @@
},
{
"title": "Using right() with a negative count on a string",
"description": "In this example we'll use a negative count right() to return part of a string.",
"description": "In this example we'll use a negative count right() to return part of a string. CF2018+",
"code": "writeOutput( right( 'The quick brown fox jumped over the lazy dog', -32 ) );",
"result": "the lazy dog",
"runnable":true
Expand Down

0 comments on commit 4221343

Please sign in to comment.