-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1411 from MitrahSoft/Added_a_examples_27-10-23
Added a examples to functions for lucee docs
- Loading branch information
Showing
5 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A string or a variable that contains one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A string containing XSL text |
6 changes: 6 additions & 0 deletions
6
docs/03.reference/05.objects/string/findlastnocase/_examples.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
```luceescript+trycf | ||
string = "Susi Sorglos"; | ||
writeDump(string.findLastNoCase("s")); | ||
writeDump(string.findLastNoCase("s",1)); | ||
writeDump(string.findLastNoCase("S",4)); | ||
``` |
18 changes: 18 additions & 0 deletions
18
docs/03.reference/05.objects/string/markdowntohtml/_examples.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
```luceescript+trycf | ||
nl= chr(10); | ||
dNL= nl & nl; | ||
markdownString="" & | ||
"## Heading1" & dNL & | ||
"###### Simple Paragraph" & dNL & | ||
"Some simple paragraph with a simple text" & dNL & | ||
"###### Ordered List" & dNL & | ||
"- First item" & nl & | ||
"- Second item" & nl & | ||
"- Third item" & dNL & | ||
"###### Some Blockquotes" & dNL & | ||
"> This is some blockquoted text" & nl & | ||
">> Blockquoted text with indentation" & dNL; | ||
echo( markdownString.markdownToHtml() ); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters