summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-05-02 15:10:59 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-05-02 15:17:35 +0200
commit2ba9e4721b6d96f0b9e66bbb2f8b09c9c413efe2 (patch)
treeb5b1528e5b7f1c17c20d2aca2c569a641e44b689 /README.markdown
parent0aa7e942f4bdcd51d7af827618288c662e0cb8e4 (diff)
Add a dirname function
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 640299f..84cd08e 100644
--- a/README.markdown
+++ b/README.markdown
@@ -195,6 +195,16 @@ Would return: ['a','c']
- *Type*: rvalue
+dirname
+-------
+Returns the `dirname` of a path.
+
+*Examples:*
+
+ dirname('/path/to/a/file.ext')
+
+Would return: '/path/to/a'
+
downcase
--------
Converts the case of a string or all strings in an array to lower case.