Skip to content

Commit

Permalink
Add blog post release 0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed May 24, 2024
1 parent f8f7655 commit 0d8dc45
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions content/blog/2024-05-24-release-0.14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
+++
title = "Release: v0.14.0"
+++

## phel\str library

- Add string functions in `phel/str` namespace
- split: Splits string on a regular expression
- join: Returns a string of all elements in coll
- reverse: Returns s with its characters reversed
- upper-case: Converts string to upper-case
- replace: Replaces all instances of match with replacement in string
- replace-first: Replaces the first instance of match with replacement in string
- trim-newline: Removes all trailing newline \n or return \r characters from string
- capitalize: Converts first character of the string to upper, all other characters to lower-case
- lower-case: Converts string to lower-case
- upper-case: Converts string to upper-case
- trim: Removes whitespace from both ends of string
- triml: Removes whitespace from the left side of string
- trimr: Removes whitespace from the right side of string
- blank?: True if s is nil, empty, or contains only whitespace
- starts-with?: True if string starts with substr
- ends-with?: True if string ends with substr
- includes?: True if string includes substr
- re-quote-replacement: Escaping of special characters
- escape: Return a new string, using cmap to escape each character from string
- index-of: Return index of value in string, optionally searching forward
- last-index-of: Return last index of value in string, optionally searching backward
- split-lines: Splits string with on \n or \r\n

## Full list

For a full list of changes, have a look at the [Changelog](https://github.com/phel-lang/phel-lang/blob/master/CHANGELOG.md).

0 comments on commit 0d8dc45

Please sign in to comment.