Skip to content

Commit

Permalink
Merge pull request #1401 from MitrahSoft/Added_a_examples_04/08/2023
Browse files Browse the repository at this point in the history
Added a examples to functions for lucee docs
  • Loading branch information
zspitzer authored Aug 4, 2023
2 parents 2f11ab9 + 6cba525 commit 84fc015
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/03.reference/01.functions/arraysplice/_examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
```luceescript+trycf
Days = ['Sun', 'Mon', 'Wed','Thurs', 'Fri','Sat'];
item = ['Tues'];
ArraySplice(Days, 3, 0, item);
writedump(Days);
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
```luceescript+trycf
list = "I'love'lucee";
arr = listQualifiedToArray(list, "'");
writeDump(arr)
```
6 changes: 6 additions & 0 deletions docs/03.reference/05.objects/array/splice/_examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
```luceescript+trycf
Days = ['Sun', 'Mon', 'Wed','Thurs', 'Fri' , 'Sat'];
item = ['Tues'];
Days.splice(3, 0, item);
writedump(Days);
```

0 comments on commit 84fc015

Please sign in to comment.