diff options
author | Syohei YOSHIDA <syohex@gmail.com> | 2015-09-24 22:59:56 +0900 |
---|---|---|
committer | Syohei YOSHIDA <syohex@gmail.com> | 2015-09-24 22:59:56 +0900 |
commit | b501002769db2ee88cc13ad3d9e8e09a448d9d62 (patch) | |
tree | 7fc473e7a70fd7187f27e8df5a08adeb5509854d | |
parent | 26a811037d9c76762f83c10614130485108769c7 (diff) |
Remove duplicate documentation
-rw-r--r-- | README.md | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -43,7 +43,6 @@ Or you can just dump `s.el` in your load path somewhere. * [s-concat](#s-concat-rest-strings) `(&rest strings)` * [s-prepend](#s-prepend-prefix-s) `(prefix s)` * [s-append](#s-append-suffix-s) `(suffix s)` -* [s-wrap](#s-wrap-s-prefix-optional-suffix) `(s prefix &optional suffix)` ### To and from lists @@ -310,21 +309,6 @@ Concatenate `s` and `suffix`. (s-append "abc" "def") ;; => "defabc" ``` -### s-wrap `(s prefix &optional suffix)` - -Wrap string `s` with `prefix` and optionally `suffix`. - -Return string `s` with `prefix` prepended. If `suffix` is present, it -is appended, otherwise `prefix` is used as both prefix and -suffix. - -```cl -(s-wrap "[" "]" "foobar") ;; => "[foobar]" -(s-wrap "(" "" "foobar") ;; => "(foobar" -(s-wrap "" ")" "foobar") ;; => "foobar)" -``` - - ### s-lines `(s)` Splits `s` into a list of strings on newline characters. |