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.
1 parent 50207cf commit 76fbe4cCopy full SHA for 76fbe4c
src/FSharpPlus/Extensions/String.fs
@@ -82,7 +82,7 @@ module String =
82
///
83
/// Note this is distinct from trim which trims the given characters,
84
/// not white spaces.
85
- let trimWhiteSpaces (source: string) =
+ let trim (source: string) =
86
raiseIfNull (nameof source) source
87
88
source.Trim ()
@@ -151,7 +151,7 @@ module String =
151
source.PadRight (totalLength, paddingChar)
152
153
/// Removes all leading and trailing occurrences of specified characters from the given string.
154
- let trim (trimChars: char seq) (source: string) =
+ let trimBoth (trimChars: char seq) (source: string) =
155
156
157
source.Trim (Seq.toArray trimChars)
0 commit comments