String Module
Holds string functions for testing for empty text, replacing, splitting, trimming and removing trailing zeros from a Dutch number.
Functions and values
| Function or value |
Description
|
Full Usage:
apply f s
Parameters:
string -> 'a
s : string
Returns: 'a
Type parameters: 'a |
Applies f to the string s.
|
Full Usage:
contains s1 s2
Parameters:
string
s2 : string
Returns: bool
|
True when the string s2 contains the string s1.
|
Full Usage:
get
Returns: string -> string
|
Returns the string unchanged. Callers use it to fix the type of a value to string for inference.
|
|
True when the string is null or has no characters. A string of only white space is not empty.
|
|
|
Full Usage:
length s
Parameters:
string
Returns: int
|
Get the length of s
|
True when the string has a character other than white space. False for a null string.
|
|
|
Removes from the end of the string every character that is in chars.
|
Full Usage:
removeTrailingZerosFromDutchNumber s
Parameters:
string
Returns: string
|
Removes the trailing zeros after the decimal comma of a Dutch number. Removes the comma too when no decimals remain.
|
Full Usage:
replace s1 s2 s
Parameters:
string
s2 : string
s : string
Returns: string
|
|
Full Usage:
split del s
Parameters:
string
s : string
Returns: string[]
|
|
Full Usage:
trim s
Parameters:
string
Returns: string
|
|
GenPRES