Header menu logo Str

AutoOpenExtensionsStringBuilder Module

Extension methods for StringBuilder. Like IndexOf(str), append which returns unit, This module is automatically opened when the namespace Str is opened.

Type extensions

Type extension Description

this.Add

Full Usage: this.Add

Parameters:
    s : string

Modifiers: inline

Like .Append(string) but returning unit

Extended Type: StringBuilder

s : string

this.Add

Full Usage: this.Add

Parameters:
    c : char

Modifiers: inline

Like .Append(char) but returning unit

Extended Type: StringBuilder

c : char

this.AddLine

Full Usage: this.AddLine

Parameters:
    s : string

Modifiers: inline

Like .AppendLine(string) but returning unit

Extended Type: StringBuilder

s : string

this.AddLine

Full Usage: this.AddLine

Parameters:
    () : unit

Modifiers: inline

Like .AppendLine() but returning unit

Extended Type: StringBuilder

() : unit

this.Contains

Full Usage: this.Contains

Parameters:
    c : char

Returns: bool
Modifiers: inline

Extended Type: StringBuilder

c : char
Returns: bool

this.Contains

Full Usage: this.Contains

Parameters:
    s : string

Returns: bool
Modifiers: inline

Extended Type: StringBuilder

s : string
Returns: bool

this.IndexOf

Full Usage: this.IndexOf

Parameters:
    c : char
    from : int

Returns: int

Like .IndexOf for strings, returns -1 if not found

Extended Type: StringBuilder

c : char
from : int
Returns: int

this.IndexOf

Full Usage: this.IndexOf

Parameters:
    t : string
    from : int

Returns: int

Like .IndexOf for strings, returns -1 if not found Always uses StringComparison.Ordinal

Extended Type: StringBuilder

t : string
from : int
Returns: int

this.IndexOf

Full Usage: this.IndexOf

Parameters:
    c : char

Returns: int
Modifiers: inline

Like .IndexOf for strings, returns -1 if not found

Extended Type: StringBuilder

c : char
Returns: int

this.IndexOf

Full Usage: this.IndexOf

Parameters:
    t : string

Returns: int
Modifiers: inline

Like .IndexOf for strings, returns -1 if not found always StringComparison.Ordinal

Extended Type: StringBuilder

t : string
Returns: int

Type something to start searching.