From 543c66d359dd56a6c0268386948a79171ca0e537 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 18 May 2024 01:30:51 +0000 Subject: [PATCH] Auto-generated commit --- README.md | 6 ++++++ base/README.md | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/README.md b/README.md index 9295534..3200979 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ The namespace exposes the following string manipulation functions: - [`fromCodePoint( pt1[, pt2[, pt3[, ...]]] )`][@stdlib/string/from-code-point]: create a string from a sequence of Unicode code points. - [`headercase( str )`][@stdlib/string/headercase]: convert a string to HTTP header case. - [`kebabcase( str )`][@stdlib/string/kebabcase]: convert a string to kebab case. +- [`last( str[, n][, options] )`][@stdlib/string/last]: return the last character(s) of a string. - [`lpad( str, len[, pad] )`][@stdlib/string/left-pad]: left pad a string. - [`ltrimN( str, n[, chars] )`][@stdlib/string/left-trim-n]: trim `n` characters from the end of a string. - [`ltrim( str )`][@stdlib/string/left-trim]: trim whitespace characters from the beginning of a string. @@ -126,6 +127,7 @@ The namespace exposes the following string manipulation functions: - [`substringBefore( str, search )`][@stdlib/string/substring-before]: return the part of a string before a specified substring. - [`graphemeClusters2iteratorRight( src[, mapFcn[, thisArg]] )`][@stdlib/string/to-grapheme-cluster-iterator-right]: create an iterator which iterates from right to left over grapheme clusters. - [`graphemeClusters2iterator( src[, mapFcn[, thisArg]] )`][@stdlib/string/to-grapheme-cluster-iterator]: create an iterator which iterates over grapheme clusters. +- [`toWellFormed( str )`][@stdlib/string/to-well-formed]: create a new well-formed string. - [`trim( str )`][@stdlib/string/trim]: trim whitespace characters from the beginning and end of a string. - [`truncateMiddle( str, len[, seq] )`][@stdlib/string/truncate-middle]: truncate a string in the middle to a specified length. - [`truncate( str, len[, ending] )`][@stdlib/string/truncate]: truncate a string to a specified length. @@ -270,6 +272,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [@stdlib/string/kebabcase]: https://github.com/stdlib-js/string/tree/main/kebabcase +[@stdlib/string/last]: https://github.com/stdlib-js/string/tree/main/last + [@stdlib/string/left-pad]: https://github.com/stdlib-js/string/tree/main/left-pad [@stdlib/string/left-trim-n]: https://github.com/stdlib-js/string/tree/main/left-trim-n @@ -338,6 +342,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [@stdlib/string/to-grapheme-cluster-iterator]: https://github.com/stdlib-js/string/tree/main/to-grapheme-cluster-iterator +[@stdlib/string/to-well-formed]: https://github.com/stdlib-js/string/tree/main/to-well-formed + [@stdlib/string/trim]: https://github.com/stdlib-js/string/tree/main/trim [@stdlib/string/truncate-middle]: https://github.com/stdlib-js/string/tree/main/truncate-middle diff --git a/base/README.md b/base/README.md index d4e66ba..52e4bf1 100644 --- a/base/README.md +++ b/base/README.md @@ -56,6 +56,7 @@ The namespace contains the following functions: - [`firstCodePoint( str, n )`][@stdlib/string/base/first-code-point]: return the first `n` Unicode code points of a string. - [`firstGraphemeCluster( str, n )`][@stdlib/string/base/first-grapheme-cluster]: return the first `n` grapheme clusters (i.e., user-perceived characters) of a string. - [`first( str, n )`][@stdlib/string/base/first]: return the first `n` UTF-16 code units of a string. +- [`forEachCodePointRight( str, clbk[, thisArg ] )`][@stdlib/string/base/for-each-code-point-right]: invokes a function for each Unicode code point in a string, iterating from right to left. - [`forEachCodePoint( str, clbk[, thisArg ] )`][@stdlib/string/base/for-each-code-point]: invokes a function for each Unicode code point in a string. - [`forEachGraphemeCluster( str, clbk[, thisArg ] )`][@stdlib/string/base/for-each-grapheme-cluster]: invokes a function for each grapheme cluster (i.e., user-perceived character) in a string. - [`forEachRight( str, clbk[, thisArg ] )`][@stdlib/string/base/for-each-right]: invokes a function for each UTF-16 code unit in a string, iterating from right to left. @@ -65,6 +66,9 @@ The namespace contains the following functions: - [`headercase( str )`][@stdlib/string/base/headercase]: convert a string to HTTP header case. - [`invcase( str )`][@stdlib/string/base/invcase]: convert a string to inverse case. - [`kebabcase( str )`][@stdlib/string/base/kebabcase]: convert a string to kebab case. +- [`lastCodePoint( str, n )`][@stdlib/string/base/last-code-point]: return the last `n` Unicode code points of a string. +- [`lastGraphemeCluster( str, n )`][@stdlib/string/base/last-grapheme-cluster]: return the last `n` grapheme clusters (i.e., user-perceived characters) of a string. +- [`last( str, n )`][@stdlib/string/base/last]: return the last `n` UTF-16 code units of a string. - [`lpad( str, len, pad )`][@stdlib/string/base/left-pad]: left pad a string. - [`ltrim( str )`][@stdlib/string/base/left-trim]: trim whitespace characters from the beginning of a string. - [`lowercase( str )`][@stdlib/string/base/lowercase]: convert a string to lowercase. @@ -90,6 +94,7 @@ The namespace contains the following functions: - [`snakecase( str )`][@stdlib/string/base/snakecase]: convert a string to snake case. - [`startcase( str )`][@stdlib/string/base/startcase]: capitalize the first letter of each word in a string. - [`startsWith( str, search, position )`][@stdlib/string/base/starts-with]: test if a string starts with the characters of another string. +- [`stickycase( str[, p] )`][@stdlib/string/base/stickycase]: convert a string to sticky case. - [`trim( str )`][@stdlib/string/base/trim]: trim whitespace characters from the beginning and end of a string. - [`truncateMiddle( str, len, seq )`][@stdlib/string/base/truncate-middle]: truncate the middle UTF-16 code units of a string to return a string having a specified length. - [`uncapitalize( str )`][@stdlib/string/base/uncapitalize]: uncapitalize the first character of a string. @@ -190,6 +195,8 @@ str = ns.trim( str ); [@stdlib/string/base/first]: https://github.com/stdlib-js/string/tree/main/base/first +[@stdlib/string/base/for-each-code-point-right]: https://github.com/stdlib-js/string/tree/main/base/for-each-code-point-right + [@stdlib/string/base/for-each-code-point]: https://github.com/stdlib-js/string/tree/main/base/for-each-code-point [@stdlib/string/base/for-each-grapheme-cluster]: https://github.com/stdlib-js/string/tree/main/base/for-each-grapheme-cluster @@ -208,6 +215,12 @@ str = ns.trim( str ); [@stdlib/string/base/kebabcase]: https://github.com/stdlib-js/string/tree/main/base/kebabcase +[@stdlib/string/base/last-code-point]: https://github.com/stdlib-js/string/tree/main/base/last-code-point + +[@stdlib/string/base/last-grapheme-cluster]: https://github.com/stdlib-js/string/tree/main/base/last-grapheme-cluster + +[@stdlib/string/base/last]: https://github.com/stdlib-js/string/tree/main/base/last + [@stdlib/string/base/left-pad]: https://github.com/stdlib-js/string/tree/main/base/left-pad [@stdlib/string/base/left-trim]: https://github.com/stdlib-js/string/tree/main/base/left-trim @@ -258,6 +271,8 @@ str = ns.trim( str ); [@stdlib/string/base/starts-with]: https://github.com/stdlib-js/string/tree/main/base/starts-with +[@stdlib/string/base/stickycase]: https://github.com/stdlib-js/string/tree/main/base/stickycase + [@stdlib/string/base/trim]: https://github.com/stdlib-js/string/tree/main/base/trim [@stdlib/string/base/truncate-middle]: https://github.com/stdlib-js/string/tree/main/base/truncate-middle