Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.strings
- Platforms: .NET, .NET Standard 2.0, Island
Methods
Compare
class method Compare(a: string; b: string): int
static int Compare(string a, string b)
static func Compare(_ a: string, _ b: string) -> int
func Compare(a string, b string) int
Shared Function Compare(a As string, b As string) As int
Parameters:
- a:
- b:
Contains
class method Contains(s: string; substr: string): bool
static bool Contains(string s, string substr)
static func Contains(_ s: string, _ substr: string) -> bool
func Contains(s string, substr string) bool
Shared Function Contains(s As string, substr As string) As bool
Parameters:
- s:
- substr:
ContainsAny
class method ContainsAny(s: string; chars: string): bool
static bool ContainsAny(string s, string chars)
static func ContainsAny(_ s: string, _ chars: string) -> bool
func ContainsAny(s string, chars string) bool
Shared Function ContainsAny(s As string, chars As string) As bool
Parameters:
- s:
- chars:
ContainsRune
class method ContainsRune(s: string; r: rune): bool
static bool ContainsRune(string s, rune r)
static func ContainsRune(_ s: string, _ r: rune) -> bool
func ContainsRune(s string, r rune) bool
Shared Function ContainsRune(s As string, r As rune) As bool
Parameters:
- s:
- r:
Count
class method Count(s: string; substr: string): int
static int Count(string s, string substr)
static func Count(_ s: string, _ substr: string) -> int
func Count(s string, substr string) int
Shared Function Count(s As string, substr As string) As int
Parameters:
- s:
- substr:
EqualFold
class method EqualFold(s: string; t: string): bool
static bool EqualFold(string s, string t)
static func EqualFold(_ s: string, _ t: string) -> bool
func EqualFold(s string, t string) bool
Shared Function EqualFold(s As string, t As string) As bool
Parameters:
- s:
- t:
Fields
class method Fields(s: string): Slice<string>
static Slice<string> Fields(string s)
static func Fields(_ s: string) -> Slice<string>
func Fields(s string) Slice<string>
Shared Function Fields(s As string) As Slice<string>
Parameters:
- s:
FieldsFunc
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
class method FieldsFunc(s: string; f: Func<rune, Boolean>): Slice<string>
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
class method FieldsFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): Slice<string>
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static Slice<string> FieldsFunc(string s, Func<rune, Boolean> f)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static Slice<string> FieldsFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static func FieldsFunc(_ s: string, _ f: Func<rune, Boolean>) -> Slice<string>
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static func FieldsFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> Slice<string>
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
func FieldsFunc(s string, f Func<rune, Boolean>) Slice<string>
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
func FieldsFunc(s string, f Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) Slice<string>
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Shared Function FieldsFunc(s As string, f As Func (Of rune, Boolean)) As Slice<string>
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Shared Function FieldsFunc(s As string, f As Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) As Slice<string>
Parameters:
- s:
- f:
HasPrefix
class method HasPrefix(s: string; prefix: string): bool
static bool HasPrefix(string s, string prefix)
static func HasPrefix(_ s: string, _ prefix: string) -> bool
func HasPrefix(s string, prefix string) bool
Shared Function HasPrefix(s As string, prefix As string) As bool
Parameters:
- s:
- prefix:
HasSuffix
class method HasSuffix(s: string; suffix: string): bool
static bool HasSuffix(string s, string suffix)
static func HasSuffix(_ s: string, _ suffix: string) -> bool
func HasSuffix(s string, suffix string) bool
Shared Function HasSuffix(s As string, suffix As string) As bool
Parameters:
- s:
- suffix:
Index
class method Index(s: string; substr: string): int
static int Index(string s, string substr)
static func Index(_ s: string, _ substr: string) -> int
func Index(s string, substr string) int
Shared Function Index(s As string, substr As string) As int
Parameters:
- s:
- substr:
IndexAny
class method IndexAny(s: string; chars: string): int
static int IndexAny(string s, string chars)
static func IndexAny(_ s: string, _ chars: string) -> int
func IndexAny(s string, chars string) int
Shared Function IndexAny(s As string, chars As string) As int
Parameters:
- s:
- chars:
class method IndexByte(b: String; c: Byte): Int32
static Int32 IndexByte(String b, Byte c)
static func IndexByte(_ b: String, _ c: Byte) -> Int32
func IndexByte(b String, c Byte) Int32
Shared Function IndexByte(b As String, c As Byte) As Int32
Parameters:
- b:
- c:
class method IndexByte(s: string; c: byte): int
static int IndexByte(string s, byte c)
static func IndexByte(_ s: string, _ c: byte) -> int
func IndexByte(s string, c byte) int
Shared Function IndexByte(s As string, c As byte) As int
Parameters:
- s:
- c:
IndexFunc
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
class method IndexFunc(s: string; f: Func<rune, Boolean>): int
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
class method IndexFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): int
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static int IndexFunc(string s, Func<rune, Boolean> f)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static int IndexFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static func IndexFunc(_ s: string, _ f: Func<rune, Boolean>) -> int
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static func IndexFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> int
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
func IndexFunc(s string, f Func<rune, Boolean>) int
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
func IndexFunc(s string, f Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) int
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Shared Function IndexFunc(s As string, f As Func (Of rune, Boolean)) As int
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Shared Function IndexFunc(s As string, f As Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) As int
Parameters:
- s:
- f:
IndexRune
class method IndexRune(s: string; r: rune): int
static int IndexRune(string s, rune r)
static func IndexRune(_ s: string, _ r: rune) -> int
func IndexRune(s string, r rune) int
Shared Function IndexRune(s As string, r As rune) As int
Parameters:
- s:
- r:
Join
class method Join(a: Slice<string>; sep: string): string
static string Join(Slice<string> a, string sep)
static func Join(_ a: Slice<string>, _ sep: string) -> string
func Join(a Slice<string>, sep string) string
Shared Function Join(a As Slice<string>, sep As string) As string
Parameters:
- a:
- sep:
LastIndex
class method LastIndex(s: string; substr: string): int
static int LastIndex(string s, string substr)
static func LastIndex(_ s: string, _ substr: string) -> int
func LastIndex(s string, substr string) int
Shared Function LastIndex(s As string, substr As string) As int
Parameters:
- s:
- substr:
LastIndexAny
class method LastIndexAny(s: string; chars: string): int
static int LastIndexAny(string s, string chars)
static func LastIndexAny(_ s: string, _ chars: string) -> int
func LastIndexAny(s string, chars string) int
Shared Function LastIndexAny(s As string, chars As string) As int
Parameters:
- s:
- chars:
LastIndexByte
class method LastIndexByte(s: string; c: byte): int
static int LastIndexByte(string s, byte c)
static func LastIndexByte(_ s: string, _ c: byte) -> int
func LastIndexByte(s string, c byte) int
Shared Function LastIndexByte(s As string, c As byte) As int
Parameters:
- s:
- c:
LastIndexFunc
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
class method LastIndexFunc(s: string; f: Func<rune, Boolean>): int
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
class method LastIndexFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): int
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static int LastIndexFunc(string s, Func<rune, Boolean> f)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static int LastIndexFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static func LastIndexFunc(_ s: string, _ f: Func<rune, Boolean>) -> int
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static func LastIndexFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> int
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
func LastIndexFunc(s string, f Func<rune, Boolean>) int
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
func LastIndexFunc(s string, f Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) int
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Shared Function LastIndexFunc(s As string, f As Func (Of rune, Boolean)) As int
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Shared Function LastIndexFunc(s As string, f As Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) As int
Parameters:
- s:
- f:
Map
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
class method Map(mapping: Func<rune, rune>; s: string): string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
class method Map(mapping: Func<go.builtin.rune,go.builtin.rune>; s: string): string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static string Map(Func<rune, rune> mapping, string s)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static string Map(Func<go.builtin.rune,go.builtin.rune> mapping, string s)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static func Map(_ mapping: Func<rune, rune>, _ s: string) -> string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static func Map(_ mapping: Func<go.builtin.rune,go.builtin.rune>, _ s: string) -> string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
func Map(mapping Func<rune, rune>, s string) string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
func Map(mapping Func<go.builtin.rune,go.builtin.rune>, s string) string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Shared Function Map(mapping As Func (Of rune, rune), s As string) As string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Shared Function Map(mapping As Func<go.builtin.rune,go.builtin.rune>, s As string) As string
Parameters:
- mapping:
- s:
NewReader
class method NewReader(s: string): Memory<Reader>
static Memory<Reader> NewReader(string s)
static func NewReader(_ s: string) -> Memory<Reader>
func NewReader(s string) Memory<Reader>
Shared Function NewReader(s As string) As Memory<Reader>
Parameters:
- s:
NewReplacer
class method NewReplacer(params oldnew: array of string): Memory<Replacer>
static Memory<Replacer> NewReplacer(params string[] oldnew)
static func NewReplacer(_ oldnew: string...) -> Memory<Replacer>
func NewReplacer(oldnew []string) Memory<Replacer>
Shared Function NewReplacer(ParamArray oldnew As string()) As Memory<Replacer>
Parameters:
- oldnew:
Repeat
class method Repeat(s: string; count: int): string
static string Repeat(string s, int count)
static func Repeat(_ s: string, _ count: int) -> string
func Repeat(s string, count int) string
Shared Function Repeat(s As string, count As int) As string
Parameters:
- s:
- count:
Replace
class method Replace(s: string; old: string; new: string; n: int): string
static string Replace(string s, string old, string new, int n)
static func Replace(_ s: string, _ old: string, _ new: string, _ n: int) -> string
func Replace(s string, old string, new string, n int) string
Shared Function Replace(s As string, old As string, new As string, n As int) As string
Parameters:
- s:
- old:
- new:
- n:
ReplaceAll
class method ReplaceAll(s: string; old: string; new: string): string
static string ReplaceAll(string s, string old, string new)
static func ReplaceAll(_ s: string, _ old: string, _ new: string) -> string
func ReplaceAll(s string, old string, new string) string
Shared Function ReplaceAll(s As string, old As string, new As string) As string
Parameters:
- s:
- old:
- new:
Split
class method Split(s: string; sep: string): Slice<string>
static Slice<string> Split(string s, string sep)
static func Split(_ s: string, _ sep: string) -> Slice<string>
func Split(s string, sep string) Slice<string>
Shared Function Split(s As string, sep As string) As Slice<string>
Parameters:
- s:
- sep:
SplitAfter
class method SplitAfter(s: string; sep: string): Slice<string>
static Slice<string> SplitAfter(string s, string sep)
static func SplitAfter(_ s: string, _ sep: string) -> Slice<string>
func SplitAfter(s string, sep string) Slice<string>
Shared Function SplitAfter(s As string, sep As string) As Slice<string>
Parameters:
- s:
- sep:
SplitAfterN
class method SplitAfterN(s: string; sep: string; n: int): Slice<string>
static Slice<string> SplitAfterN(string s, string sep, int n)
static func SplitAfterN(_ s: string, _ sep: string, _ n: int) -> Slice<string>
func SplitAfterN(s string, sep string, n int) Slice<string>
Shared Function SplitAfterN(s As string, sep As string, n As int) As Slice<string>
Parameters:
- s:
- sep:
- n:
SplitN
class method SplitN(s: string; sep: string; n: int): Slice<string>
static Slice<string> SplitN(string s, string sep, int n)
static func SplitN(_ s: string, _ sep: string, _ n: int) -> Slice<string>
func SplitN(s string, sep string, n int) Slice<string>
Shared Function SplitN(s As string, sep As string, n As int) As Slice<string>
Parameters:
- s:
- sep:
- n:
Title
class method Title(s: string): string
static string Title(string s)
static func Title(_ s: string) -> string
func Title(s string) string
Shared Function Title(s As string) As string
Parameters:
- s:
ToLower
class method ToLower(s: string): string
static string ToLower(string s)
static func ToLower(_ s: string) -> string
func ToLower(s string) string
Shared Function ToLower(s As string) As string
Parameters:
- s:
ToLowerSpecial
class method ToLowerSpecial(c: SpecialCase; s: string): string
static string ToLowerSpecial(SpecialCase c, string s)
static func ToLowerSpecial(_ c: SpecialCase, _ s: string) -> string
func ToLowerSpecial(c SpecialCase, s string) string
Shared Function ToLowerSpecial(c As SpecialCase, s As string) As string
Parameters:
- c:
- s:
ToTitle
class method ToTitle(s: string): string
static string ToTitle(string s)
static func ToTitle(_ s: string) -> string
func ToTitle(s string) string
Shared Function ToTitle(s As string) As string
Parameters:
- s:
ToTitleSpecial
class method ToTitleSpecial(c: SpecialCase; s: string): string
static string ToTitleSpecial(SpecialCase c, string s)
static func ToTitleSpecial(_ c: SpecialCase, _ s: string) -> string
func ToTitleSpecial(c SpecialCase, s string) string
Shared Function ToTitleSpecial(c As SpecialCase, s As string) As string
Parameters:
- c:
- s:
ToUpper
class method ToUpper(s: string): string
static string ToUpper(string s)
static func ToUpper(_ s: string) -> string
func ToUpper(s string) string
Shared Function ToUpper(s As string) As string
Parameters:
- s:
ToUpperSpecial
class method ToUpperSpecial(c: SpecialCase; s: string): string
static string ToUpperSpecial(SpecialCase c, string s)
static func ToUpperSpecial(_ c: SpecialCase, _ s: string) -> string
func ToUpperSpecial(c SpecialCase, s string) string
Shared Function ToUpperSpecial(c As SpecialCase, s As string) As string
Parameters:
- c:
- s:
ToValidUTF8
class method ToValidUTF8(s: string; replacement: string): string
static string ToValidUTF8(string s, string replacement)
static func ToValidUTF8(_ s: string, _ replacement: string) -> string
func ToValidUTF8(s string, replacement string) string
Shared Function ToValidUTF8(s As string, replacement As string) As string
Parameters:
- s:
- replacement:
Trim
class method Trim(s: string; cutset: string): string
static string Trim(string s, string cutset)
static func Trim(_ s: string, _ cutset: string) -> string
func Trim(s string, cutset string) string
Shared Function Trim(s As string, cutset As string) As string
Parameters:
- s:
- cutset:
TrimFunc
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
class method TrimFunc(s: string; f: Func<rune, Boolean>): string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
class method TrimFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static string TrimFunc(string s, Func<rune, Boolean> f)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static string TrimFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static func TrimFunc(_ s: string, _ f: Func<rune, Boolean>) -> string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static func TrimFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
func TrimFunc(s string, f Func<rune, Boolean>) string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
func TrimFunc(s string, f Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Shared Function TrimFunc(s As string, f As Func (Of rune, Boolean)) As string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Shared Function TrimFunc(s As string, f As Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) As string
Parameters:
- s:
- f:
TrimLeft
class method TrimLeft(s: string; cutset: string): string
static string TrimLeft(string s, string cutset)
static func TrimLeft(_ s: string, _ cutset: string) -> string
func TrimLeft(s string, cutset string) string
Shared Function TrimLeft(s As string, cutset As string) As string
Parameters:
- s:
- cutset:
TrimLeftFunc
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
class method TrimLeftFunc(s: string; f: Func<rune, Boolean>): string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
class method TrimLeftFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static string TrimLeftFunc(string s, Func<rune, Boolean> f)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static string TrimLeftFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static func TrimLeftFunc(_ s: string, _ f: Func<rune, Boolean>) -> string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static func TrimLeftFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
func TrimLeftFunc(s string, f Func<rune, Boolean>) string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
func TrimLeftFunc(s string, f Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Shared Function TrimLeftFunc(s As string, f As Func (Of rune, Boolean)) As string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Shared Function TrimLeftFunc(s As string, f As Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) As string
Parameters:
- s:
- f:
TrimPrefix
class method TrimPrefix(s: string; prefix: string): string
static string TrimPrefix(string s, string prefix)
static func TrimPrefix(_ s: string, _ prefix: string) -> string
func TrimPrefix(s string, prefix string) string
Shared Function TrimPrefix(s As string, prefix As string) As string
Parameters:
- s:
- prefix:
TrimRight
class method TrimRight(s: string; cutset: string): string
static string TrimRight(string s, string cutset)
static func TrimRight(_ s: string, _ cutset: string) -> string
func TrimRight(s string, cutset string) string
Shared Function TrimRight(s As string, cutset As string) As string
Parameters:
- s:
- cutset:
TrimRightFunc
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
class method TrimRightFunc(s: string; f: Func<rune, Boolean>): string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
class method TrimRightFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static string TrimRightFunc(string s, Func<rune, Boolean> f)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static string TrimRightFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
static func TrimRightFunc(_ s: string, _ f: Func<rune, Boolean>) -> string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
static func TrimRightFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
func TrimRightFunc(s string, f Func<rune, Boolean>) string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
func TrimRightFunc(s string, f Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) string
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Shared Function TrimRightFunc(s As string, f As Func (Of rune, Boolean)) As string
// Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Shared Function TrimRightFunc(s As string, f As Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) As string
Parameters:
- s:
- f:
TrimSpace
class method TrimSpace(s: string): string
static string TrimSpace(string s)
static func TrimSpace(_ s: string) -> string
func TrimSpace(s string) string
Shared Function TrimSpace(s As string) As string
Parameters:
- s:
TrimSuffix
class method TrimSuffix(s: string; suffix: string): string
static string TrimSuffix(string s, string suffix)
static func TrimSuffix(_ s: string, _ suffix: string) -> string
func TrimSuffix(s string, suffix string) string
Shared Function TrimSuffix(s As string, suffix As string) As string
Parameters:
- s:
- suffix: