File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to wsjcpp-core project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
77
8+ ## [ v0.2.3] - 2023-02-01 (2023 Feb 1)
9+
10+ ### Added
11+
12+ - New functions: startsWith and endssWith
13+
814## [ v0.2.2] - 2021-09-04 (2021 Sept 4)
915
1016### Added
Original file line number Diff line number Diff line change @@ -456,3 +456,23 @@ if (WsjcppCore::recoursiveRemoveDir("./folder2")) {
456456 // everything removed
457457}
458458```
459+
460+ ### startsWith
461+
462+ Test string starts with substring
463+
464+ ```
465+ if (WsjcppCore::startsWith("123456", "123")) {
466+ // true
467+ }
468+ ```
469+
470+ ### endsWith
471+
472+ Test string starts with substring
473+
474+ ```
475+ if (WsjcppCore::startsWith("123456", "456")) {
476+ // true
477+ }
478+ ```
You can’t perform that action at this time.
0 commit comments