Header menu logo Str

AutoOpenExtensionsString Module

Extension methods for System.String. Like DoesNotContain(str),.., This module is automatically opened when the namespace Str is opened.

Type extensions

Type extension Description

this.Contains

Full Usage: this.Contains

Parameters:
    chr : char

Returns: bool
Modifiers: inline

s.IndexOf(char) <> -1

Extended Type: String

chr : char
Returns: bool

this.DoesNotContain

Full Usage: this.DoesNotContain

Parameters:
    subString : string

Returns: bool
Modifiers: inline

s.IndexOf(subString,StringComparison.Ordinal) = -1

Extended Type: String

subString : string
Returns: bool

this.DoesNotContain

Full Usage: this.DoesNotContain

Parameters:
    chr : char

Returns: bool
Modifiers: inline

s.IndexOf(chr) = -1

Extended Type: String

chr : char
Returns: bool

this.IsEmpty

Full Usage: this.IsEmpty

Parameters:
    () : unit

Returns: bool
Modifiers: inline

Calls String.IsNullOrEmpty(str)

Extended Type: String

() : unit
Returns: bool

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool
Modifiers: inline

Calls String.IsNullOrEmpty(str)

Extended Type: String

Returns: bool

this.IsNotEmpty

Full Usage: this.IsNotEmpty

Parameters:
    () : unit

Returns: bool
Modifiers: inline

Calls not(String.IsNullOrEmpty(str))

Extended Type: String

() : unit
Returns: bool

this.IsNotEmpty

Full Usage: this.IsNotEmpty

Returns: bool
Modifiers: inline

Calls not(String.IsNullOrEmpty(str))

Extended Type: String

Returns: bool

this.IsNotWhite

Full Usage: this.IsNotWhite

Parameters:
    () : unit

Returns: bool
Modifiers: inline

Calls not(String.IsNullOrWhiteSpace(str))

Extended Type: String

() : unit
Returns: bool

this.IsNotWhite

Full Usage: this.IsNotWhite

Returns: bool
Modifiers: inline

Calls not(String.IsNullOrWhiteSpace(str))

Extended Type: String

Returns: bool

this.IsWhite

Full Usage: this.IsWhite

Parameters:
    () : unit

Returns: bool
Modifiers: inline

Calls String.IsNullOrWhiteSpace(str)

Extended Type: String

() : unit
Returns: bool

this.IsWhite

Full Usage: this.IsWhite

Returns: bool
Modifiers: inline

Calls String.IsNullOrWhiteSpace(str)

Extended Type: String

Returns: bool

this.Split

Full Usage: this.Split

Parameters:
    chr : char

Returns: string[]
Modifiers: inline

Splits a string into substrings. Empty entries are included. s.Split( [|chr|] )

Extended Type: String

chr : char
Returns: string[]

Type something to start searching.