26 return ((
c >=
'a') && (
c <=
'z')) || ((
c >=
'A') && (
c <=
'Z'));
30 return (
c >=
'a') && (
c <=
'z');
34 return (
c >=
'A') && (
c <=
'Z');
38 return (
c >=
'0') && (
c <=
'9');
42 return c ==
'0' ||
c ==
'1';
46 return c >=
'0' &&
c <=
'7';
50 return (
c >=
'0' &&
c <=
'9') || (
c >=
'A' &&
c <=
'F') ||
51 (
c >=
'a' &&
c <=
'f');
55 return ((
c >=
'0') && (
c <=
'9')) || (
c ==
'.');
59 return (
c ==
'.') || (
c ==
',') || (
c ==
':') || (
c ==
'\'') || (
c ==
'`') ||
60 (
c ==
';') || (
c ==
'!') || (
c ==
'?');
64 return (
c ==
' ') || (
c ==
'\11') || (
c ==
'\12') || (
c ==
'\15');
368bool test (
string s,
int i,
const char*
test);
369bool test (
string s,
int i,
string test);
372bool ends (
string s,
const char*
test);
373bool ends (
string s,
const string test);
374bool read (
string s,
int& i,
const char*
test);
375bool read (
string s,
int& i,
string test);
string alpha_nr(int nr)
Generates an alphabetic string for an integer.
string cork_to_il2(string s)
bool is_alphanum(string s)
string escape_spaces(string s)
Escape spaces in a string with a backslash.
string igerman_to_german(string s)
Convert igerman string to german string.
void skip_line(string s, int &i)
string locase_all(string s)
Converts all uppercase characters in a string to lowercase.
string unescape_guile(string s)
Unescape a Guile-syntax string.
bool read(string s, int &i, const char *test)
string trim_spaces(string s)
array< string > tokenize(string s, string sep)
void skip_symbol(string s, int &i)
string il2_to_cork(string s)
bool is_binary_digit(char c)
string string_union(string s1, string s2)
Union of two strings.
void parse_length(string s, double &len, string &unit)
Parses a string containing a length value and its unit.
string remove_prefix(string s, string prefix)
Remove the prefix from s if matches.
int search_backwards(string what, string in)
string raw_quote(string s)
Add quotes around a string to indicate it's a string, not a symbol.
bool is_punctuation(char c)
bool contains(string s, string what)
bool is_iso_alpha(char c)
Checks if a character is an ISO alphabetic character.
bool is_whitespace(string s)
string spanish_to_ispanish(string s)
Convert Spanish string to ispanish string.
string escape_sh(string s)
Escape a string for use in shell scripts.
string trim_spaces_left(string s)
void skip_whitespace(string s, int &i)
string upcase_first(string s)
Converts the first character of a string to uppercase.
int search_forwards(string what, string in)
bool occurs(string what, string in)
bool read_int(string s, int &i, int &result)
char upcase(char s)
Converts a lowercase character to uppercase.
bool is_locase_alpha(string s)
Checks if a string contains only lowercase alphabetic characters.
char closing_delimiter(char c)
Finds the closing delimiter corresponding to the given opening delimiter.
string locase_first(string s)
Converts the first character of a string to lowercase.
string recompose(array< string > a, string sep)
string escape_generic(string s)
Escape a string with generic escape sequences.
string ispanish_to_spanish(string s)
Convert ispanish string to Spanish string.
array< int > differences(string s1, string s2)
the differences between two strings by identifying the common substrings and returning the different ...
bool is_hex_digit(char c)
bool test(string s, int i, const char *test)
string escape_verbatim(string s)
Escape a string to be displayed verbatim.
bool is_octal_digit(char c)
string string_minus(string s1, string s2)
Remove characters from one string that are in another string.
bool is_iso_locase(char c)
Checks if a character is an ISO lowercase alphabetic character.
string replace(string s, string what, string by)
bool read_word(string s, int &i, string &result)
int distance(string s1, string s2)
a measure of difference (distance) between two strings.
bool read_double(string s, int &i, double &result)
string upcase_all(string s)
Converts all lowercase characters in a string to uppercase.
bool ends(string s, const char *test)
string fnsymbol_nr(int nr)
Generates footnote symbols for a given integer.
int find_non_alpha(string s, int pos, bool forward)
string german_to_igerman(string s)
Convert german string to igerman string.
char locase(char s)
Converts an uppercase character to lowercase.
void skip_spaces(string s, int &i)
int count_occurrences(string what, string in)
bool is_iso_upcase(char c)
Checks if a character is an ISO uppercase alphabetic character.
void parse(string s, int &pos, QI &ret)
bool read_line(string s, int &i, string &result)
string Alpha_nr(int nr)
Generates an uppercase alphabetic string for an integer.
bool starts(string s, const char *test)
string dos_to_better(string s)
Convert DOS line endings to more standard line endings.
bool match_wildcard(string s, string w)
string convert_tabs_to_spaces(string s, int w)
Converts tabs in a string to spaces.
int overlapping(string s1, string s2)
string raw_unquote(string s)
Remove quotes from a string label.
int index_of(string s, char c)
string trim_spaces_right(string s)
string remove_suffix(string s, string suffix)
Remove the suffix from s if matches.
The list class represents a linked list.
string suffix(url u, bool use_locase)