From b0b6f166e3c9a2502dd272bf4f89488cbf46fc48 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 13 Jun 2024 13:03:50 +0000 Subject: [PATCH] markdown source builds Auto-generated via {sandpaper} Source : 5d9573e6bbd3aaac6877d726e74a6435b65143eb Branch : main Author : Owen Stephens Time : 2024-06-13 13:02:49 +0000 Message : Merge pull request #348 from r0man-ist/r0man-ist-patch-1 added sort function and clarified text --- 11-using-arrays-transformations.md | 6 +++--- md5sum.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/11-using-arrays-transformations.md b/11-using-arrays-transformations.md index 2c9c3699..880af2a2 100644 --- a/11-using-arrays-transformations.md +++ b/11-using-arrays-transformations.md @@ -92,13 +92,13 @@ value.split("|")[0] would result in the string: "crystal structure" -You can also join arrays together to make a 'String'. The GREL expression would look like +You can also sort and join arrays together to make a 'String'. The GREL expression would look like ``` -value.split("|").uniques().join("|") +value.split("|").uniques().sort().join("|") ``` -Taking the same example again, this would result in a string with the subjects in alphabetical order, listed with pipes between each subject. +Taking the same example again, this would result in a string with the subjects in alphabetical order (note that the sort function is case-sensitive), listed with pipes between each subject. ::::::::::::::::::::::::::::::::::::::: instructor diff --git a/md5sum.txt b/md5sum.txt index c8d0a9c9..72491bb7 100644 --- a/md5sum.txt +++ b/md5sum.txt @@ -13,7 +13,7 @@ "episodes/08-writing-transformations.md" "b69d3a52f8de4655d7c8695d95d5821d" "site/built/08-writing-transformations.md" "2023-05-01" "episodes/09-undo-and-redo.md" "9dba6d90cc6d8d9d5381cb537006b63e" "site/built/09-undo-and-redo.md" "2023-05-01" "episodes/10-data-transformation.md" "47399b9f87a7c2dfae1d6b67eea71cc7" "site/built/10-data-transformation.md" "2023-05-26" -"episodes/11-using-arrays-transformations.md" "1f63618b802da3df5ed0d0900d2471a0" "site/built/11-using-arrays-transformations.md" "2024-06-12" +"episodes/11-using-arrays-transformations.md" "9f0a468847fad1070c69665ef840b843" "site/built/11-using-arrays-transformations.md" "2024-06-13" "episodes/12-export-transformation.md" "aa6dd576a893a0870baa24611573e50b" "site/built/12-export-transformation.md" "2023-05-01" "episodes/13-looking-up-data.md" "78395aeacd84ded698a0645d74ac2d48" "site/built/13-looking-up-data.md" "2024-05-08" "instructors/instructor-notes.md" "c2dfd88f1e85cccb9cbe872530c534ac" "site/built/instructor-notes.md" "2023-11-21"