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
Parameters:
- a:
- b:
Contains
Parameters:
- s:
- substr:
ContainsAny
Parameters:
- s:
- chars:
ContainsRune
Parameters:
- s:
- r:
Count
Parameters:
- s:
- substr:
EqualFold
Parameters:
- s:
- t:
Fields
Parameters:
- s:
FieldsFunc
// .NET, .NET Standard 2.0
class method FieldsFunc(s: string; f: Func<rune, Boolean>): Slice<string>
// Island
class method FieldsFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): Slice<string>
// .NET, .NET Standard 2.0
static Slice<string> FieldsFunc(string s, Func<rune, Boolean> f)
// Island
static Slice<string> FieldsFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0
static func FieldsFunc(_ s: string, _ f: Func<rune, Boolean>) -> Slice<string>
// Island
static func FieldsFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> Slice<string>
Parameters:
- s:
- f:
HasPrefix
Parameters:
- s:
- prefix:
HasSuffix
Parameters:
- s:
- suffix:
Index
Parameters:
- s:
- substr:
IndexAny
Parameters:
- s:
- chars:
Parameters:
- b:
- c:
Parameters:
- s:
- c:
IndexFunc
// .NET, .NET Standard 2.0
class method IndexFunc(s: string; f: Func<rune, Boolean>): int
// Island
class method IndexFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): int
// .NET, .NET Standard 2.0
static int IndexFunc(string s, Func<rune, Boolean> f)
// Island
static int IndexFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0
static func IndexFunc(_ s: string, _ f: Func<rune, Boolean>) -> int
// Island
static func IndexFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> int
Parameters:
- s:
- f:
IndexRune
Parameters:
- s:
- r:
Join
Parameters:
- a:
- sep:
LastIndex
Parameters:
- s:
- substr:
LastIndexAny
Parameters:
- s:
- chars:
LastIndexByte
Parameters:
- s:
- c:
LastIndexFunc
// .NET, .NET Standard 2.0
class method LastIndexFunc(s: string; f: Func<rune, Boolean>): int
// Island
class method LastIndexFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): int
// .NET, .NET Standard 2.0
static int LastIndexFunc(string s, Func<rune, Boolean> f)
// Island
static int LastIndexFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0
static func LastIndexFunc(_ s: string, _ f: Func<rune, Boolean>) -> int
// Island
static func LastIndexFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> int
Parameters:
- s:
- f:
Map
// .NET, .NET Standard 2.0
class method Map(mapping: Func<rune, rune>; s: string): string
// Island
class method Map(mapping: Func<go.builtin.rune,go.builtin.rune>; s: string): string
// .NET, .NET Standard 2.0
static string Map(Func<rune, rune> mapping, string s)
// Island
static string Map(Func<go.builtin.rune,go.builtin.rune> mapping, string s)
// .NET, .NET Standard 2.0
static func Map(_ mapping: Func<rune, rune>, _ s: string) -> string
// Island
static func Map(_ mapping: Func<go.builtin.rune,go.builtin.rune>, _ s: string) -> string
Parameters:
- mapping:
- s:
NewReader
// .NET, .NET Standard 2.0
class method NewReader(s: string): Memory<Reader>
// Island
class method NewReader(s: string): Memory<Reader>
// .NET, .NET Standard 2.0
static Memory<Reader> NewReader(string s)
// Island
static Memory<Reader> NewReader(string s)
// .NET, .NET Standard 2.0
static func NewReader(_ s: string) -> Memory<Reader>
// Island
static func NewReader(_ s: string) -> Memory<Reader>
Parameters:
- s:
NewReplacer
// .NET, .NET Standard 2.0
class method NewReplacer(params oldnew: array of string): Memory<Replacer>
// Island
class method NewReplacer(params oldnew: array of string): Memory<Replacer>
// .NET, .NET Standard 2.0
static Memory<Replacer> NewReplacer(params string[] oldnew)
// Island
static Memory<Replacer> NewReplacer(params string[] oldnew)
// .NET, .NET Standard 2.0
static func NewReplacer(_ oldnew: string...) -> Memory<Replacer>
// Island
static func NewReplacer(_ oldnew: string...) -> Memory<Replacer>
Parameters:
- oldnew:
Repeat
Parameters:
- s:
- count:
Replace
Parameters:
- s:
- old:
- new:
- n:
ReplaceAll
Parameters:
- s:
- old:
- new:
Split
Parameters:
- s:
- sep:
SplitAfter
Parameters:
- s:
- sep:
SplitAfterN
Parameters:
- s:
- sep:
- n:
SplitN
Parameters:
- s:
- sep:
- n:
Title
Parameters:
- s:
ToLower
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
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
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
Parameters:
- s:
- replacement:
Trim
Parameters:
- s:
- cutset:
TrimFunc
// .NET, .NET Standard 2.0
class method TrimFunc(s: string; f: Func<rune, Boolean>): string
// Island
class method TrimFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): string
// .NET, .NET Standard 2.0
static string TrimFunc(string s, Func<rune, Boolean> f)
// Island
static string TrimFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0
static func TrimFunc(_ s: string, _ f: Func<rune, Boolean>) -> string
// Island
static func TrimFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> string
Parameters:
- s:
- f:
TrimLeft
Parameters:
- s:
- cutset:
TrimLeftFunc
// .NET, .NET Standard 2.0
class method TrimLeftFunc(s: string; f: Func<rune, Boolean>): string
// Island
class method TrimLeftFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): string
// .NET, .NET Standard 2.0
static string TrimLeftFunc(string s, Func<rune, Boolean> f)
// Island
static string TrimLeftFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0
static func TrimLeftFunc(_ s: string, _ f: Func<rune, Boolean>) -> string
// Island
static func TrimLeftFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> string
Parameters:
- s:
- f:
TrimPrefix
Parameters:
- s:
- prefix:
TrimRight
Parameters:
- s:
- cutset:
TrimRightFunc
// .NET, .NET Standard 2.0
class method TrimRightFunc(s: string; f: Func<rune, Boolean>): string
// Island
class method TrimRightFunc(s: string; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): string
// .NET, .NET Standard 2.0
static string TrimRightFunc(string s, Func<rune, Boolean> f)
// Island
static string TrimRightFunc(string s, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0
static func TrimRightFunc(_ s: string, _ f: Func<rune, Boolean>) -> string
// Island
static func TrimRightFunc(_ s: string, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> string
Parameters:
- s:
- f:
TrimSpace
Parameters:
- s:
TrimSuffix
Parameters:
- s:
- suffix: