fix #80 edge case !isSomething() bug fixed

+String.last()
This commit is contained in:
sergeych committed 2025-12-06 15:07:38 +01:00
1 parent f616326383
commit 2e96d75b9f
4 files changed
+60 -4

No files matched your search

+1
View File
@@ -1385,6 +1385,7 @@ Typical set of String functions includes:
| trim() | trim space chars from both ends |
| startsWith(prefix) | true if starts with a prefix |
| endsWith(prefix) | true if ends with a prefix |
| last() | get last character of a string or throw |
| take(n) | get a new string from up to n first characters |
| takeLast(n) | get a new string from up to n last characters |
| drop(n) | get a new string dropping n first chars, or empty string |