summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorRichard Soderberg <rsoderberg@mozilla.com>2013-03-26 15:45:40 -0700
committerRichard Soderberg <rsoderberg@mozilla.com>2013-03-26 15:46:55 -0700
commit88a93ac6cdf38045e1cf29325a70e5e4143016b3 (patch)
tree528c93aaa1c89dbdf1205fe4a69965de2d3d0874 /README.markdown
parent05273419e1c8b34115ede15b1d8a8739f6a0db00 (diff)
downloadpuppet-stdlib-88a93ac6cdf38045e1cf29325a70e5e4143016b3.tar.gz
puppet-stdlib-88a93ac6cdf38045e1cf29325a70e5e4143016b3.tar.bz2
add suffix function to accompany the prefix function
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 121b784..2f93db4 100644
--- a/README.markdown
+++ b/README.markdown
@@ -661,6 +661,19 @@ Would result in: "aaa"
- *Type*: rvalue
+suffix
+------
+This function applies a suffix to all elements in an array.
+
+*Examples:*
+
+ suffix(['a','b','c'], 'p')
+
+Will return: ['ap','bp','cp']
+
+
+- *Type*: rvalue
+
swapcase
--------
This function will swap the existing case of a string.