| Name | Summary |
|---|---|
|
Peeks the nth byte in a string
Unsafe: may raise an error
Unsound: may give different results on ser...
|
|
|
Returns the length of the string
|
|
|
eg: will return
|
|
|
checks that the sub-string
of starting at begins with
|
|
|
Compare two string
|
|
|
checks if a string contains a substring
|
|
|
Returns the index of unmatched char
Returns 0 if both strings and are equal
Returns 1 if the first...
|
|
|
same as diff but case insensitive
|
|
|
Returns the right part of , is the left part length
|
|
|
Returns the left part of , is the right part length
|
|
|
Check equality of two string
|
|
|
Escapes some characters. Used internally.
Very slow: replace or improve
|
|
|
Splits a string into a list of segments separated by a given string.
Two consecutive occurrences of ...
|
|
|
Splits a string into a list of segments separated by a given string.
|
|
|
The same as of_list but the list must contain strings and there is no separator
|
|
|
iter on each character of and call the function with the current character
and an accumulator
|
|
|
Returns a string fresh generator.
|
|
|
Returns the string composed of the nth character of the given string
(starting at index 0)Exits with...
|
|
|
same as get but from the end
|
|
|
Gets a prefix of a given string of given length.
|
|
|
Gets a suffix of a given string of given length.
|
|
|
Returns true iff the source string has a given prefix.
|
|
|
Returns true iff the source string has a given suffix.
|
|
|
finds a sub-string in a string
|
|
|
the same as index but insensitive
|
|
|
creates a string which consists of the flattening of
,, ...,
Efficiency note: as the length of .....
|
|
|
Determine if a string is empty
|
|
|
Returns the length of the string
|
|
|
map each unicode character of using the given character mapping function
|
|
|
Returns a string that succeed
|
|
|
Build a string from a byte value.
Unsafe: may raise an error
|
|
|
Build a string from a byte value.
Useful if you use strings for outputs in binary format
|
|
|
Create the string representation of a float
|
|
|
Create the string representation of an integer
|
|
|
concatenates the list of alphas, inserting string between each.
each element of this list is given ...
|
|
|
Returns the UTF8 representation of a positive integerExits with an error when the integer is negativ...
|
|
|
Create the string representation of a void
|
|
|
Order for string comparisonThe comparison differenciates lowercase from uppercase,
use the "ASCII or...
|
|
|
Order for string comparisonSame behavior than , but case insensitive.
|
|
|
Compare two string
|
|
|
this function completes the string to get the length wanted with the string
|
|
|
the same as padding by pad on right
|
|
|
Removes some accents
|
|
|
returns a string which consists in repetitions of string
|
|
|
replaces every occurrence of
by Characters from the input cannot belong to several overlapping occ...
|
|
|
Replace all unicode characters of the by when
returns bool.
|
|
|
replaces the leftmost
occurrence of in by (if any)
|
|
|
Create a string in the reverse order of the original one
|
|
|
Returns a copy of string without padding which match with
|
|
|
the same as trim but strip only the left part
|
|
|
the same as trim but strip only the right part
|
|
|
returns the string composed of the
characters of , starting at (indexed from 0) and of length
Exit...
|
|
|
returns an option
containing the string composed of the characters of ,
starting at (indexed from ...
|
|
|
A variant of that can raise an exception if offsets are incorrect
|
|
|
Converts all the characters of the string to lowercase
|
|
|
Converts all the characters of the string to uppercase
|
|
|
Returns a String with the first letters capitalized
|
|
|
This function returns an unsigned int to count blocks of non blank
|
|
Comments