Const.StringA module for string constant symbols that occur in terms.
val string : string -> tString literal.
val length : tString length.
val at : tGet a char in a string.
val to_code : tReturns the code point of a the single character of the string or (-1) if the string is not a singleton.
val of_code : tReturns the singleton string whose only character is the given code point.
val is_digit : tCheck if the string a singleton string with a single digit character.
val to_int : tEvaluates the string as a decimal natural number, or (-1) if it's not possible.
val of_int : tConvert an int expression to a string in decimal representation.
val concat : tString concatenation.
val sub : tSubstring extraction.
val index_of : tIndex of the first occurrence of the second string in first one, starting at the position of the third argument.
val replace : tReplace the first occurrence.
val replace_all : tReplace all occurrences.
val replace_re : tReplace the leftmost, shortest re ocurrence.
val replace_re_all : tReplace left-to-right, each shortest non empty re occurrence.
val is_prefix : tCheck if the first string is a prefix of the second one.
val is_suffix : tCheck if the first string is a suffix of the second one.
val contains : tCheck if the first string contains the second one.
val lt : tCheck for lexicographic strict ordering.
val leq : tCheck for lexicographic large ordering.
val in_re : tCheck if the string is in regular language.
module Reg_Lang : sig ... endA module for regular language constant symbols that occur in terms.