We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b4cc56 + 01a7fe3 commit 95b8f9cCopy full SHA for 95b8f9c
Sources/SparrowKit/Foundation/StringExtension.swift
@@ -159,7 +159,7 @@ public extension String {
159
160
- parameter suffix: String which need remove.
161
*/
162
- func removeSuffix(_ suffix: String) -> String {
+ func removedSuffix(_ suffix: String) -> String {
163
if self.hasSuffix(suffix) {
164
return String(dropLast(suffix.count))
165
} else {
0 commit comments