Header menu logo fantomas

String Module

Functions and values

Function or value Description

capitalize s

Full Usage: capitalize s

Parameters:
    s : string

Returns: string
s : string
Returns: string

contains s c

Full Usage: contains s c

Parameters:
    s : string
    c : char

Returns: bool
s : string
c : char
Returns: bool

dropPrefix s t

Full Usage: dropPrefix s t

Parameters:
    s : string
    t : string

Returns: string
s : string
t : string
Returns: string

dropSuffix s t

Full Usage: dropSuffix s t

Parameters:
    s : string
    t : string

Returns: string
s : string
t : string
Returns: string

extractTrailingIndex str

Full Usage: extractTrailingIndex str

Parameters:
    str : string

Returns: string * int option
str : string
Returns: string * int option

get str i

Full Usage: get str i

Parameters:
    str : string
    i : int

Returns: char
str : string
i : int
Returns: char

getLines str

Full Usage: getLines str

Parameters:
    str : string

Returns: string[]
str : string
Returns: string[]

isLeadingIdentifierCharacterUpperCase s

Full Usage: isLeadingIdentifierCharacterUpperCase s

Parameters:
    s : string

Returns: bool
s : string
Returns: bool

lowerCaseFirstChar str

Full Usage: lowerCaseFirstChar str

Parameters:
    str : string

Returns: string
str : string
Returns: string

lowercase s

Full Usage: lowercase s

Parameters:
    s : string

Returns: string
s : string
Returns: string

make n c

Full Usage: make n c

Parameters:
    n : int
    c : char

Returns: string
n : int
c : char
Returns: string

order

Full Usage: order

Returns: IComparer<string>
Returns: IComparer<string>

split options separator value

Full Usage: split options separator value

Parameters:
Returns: string[]

Splits a string into substrings based on the strings in the array separators

options : StringSplitOptions
separator : string[]
value : string
Returns: string[]

sub s start len

Full Usage: sub s start len

Parameters:
    s : string
    start : int
    len : int

Returns: string
s : string
start : int
len : int
Returns: string

toCharArray str

Full Usage: toCharArray str

Parameters:
    str : string

Returns: char[]
Modifiers: inline
str : string
Returns: char[]

uncapitalize s

Full Usage: uncapitalize s

Parameters:
    s : string

Returns: string
s : string
Returns: string

uppercase s

Full Usage: uppercase s

Parameters:
    s : string

Returns: string
s : string
Returns: string

Active patterns

Active pattern Description

(|Contains|_|) pattern value

Full Usage: (|Contains|_|) pattern value

Parameters:
    pattern : string
    value : string

Returns: unit option
pattern : string
value : string
Returns: unit option

(|StartsWith|_|) pattern value

Full Usage: (|StartsWith|_|) pattern value

Parameters:
    pattern : string
    value : string

Returns: unit option
pattern : string
value : string
Returns: unit option

Type something to start searching.