All Classes Namespaces Functions Variables Groups Pages
ql_string.dox.h
namespace Qore {
int bindex(softstring str, softstring substr, softint pos = 0);
int bindex();
int brindex(softstring str, softstring substr, softint pos = -1);
int brindex();
string chomp(string str);
*string chomp(reference str);
nothing chomp();
string chr(softint val, *string encoding);
string chr(any arg);
nothing chr();
string convert_encoding(string str, string encoding);
nothing convert_encoding();
string f_printf(string fmt, ...);
string f_printf();
string f_sprintf(string fmt, ...);
string f_sprintf();
string f_vprintf(string fmt, any varg);
string f_vsprintf(string fmt, any varg);
nothing flush();
string force_encoding(string str, string encoding);
nothing force_encoding();
string format_number(string fmt, softfloat num);
nothing format_number();
string get_encoding(string str);
nothing get_encoding();
int index(softstring str, softstring substr, softint pos = 0);
int index();
string join(string str, ...);
string join(string str, list l);
nothing join();
int length(softstring str);
int length(binary bin);
nothing length();
int length(any arg);
int ord(softstring str, softint offset = 0);
int ord();
bool parse_boolean(string str);
bool parse_boolean( ...);
nothing print( ...);
string printf(string fmt, ...);
string printf();
bool regex(string str, string regex, int options = 0);
nothing regex();
*list regex_extract(string str, string regex, int options = 0);
nothing regex_extract();
string regex_subst(string str, string regex, string subst, int options = 0);
nothing regex_subst();
string replace(string str, string source, string target);
nothing replace();
string reverse(softstring str);
int rindex(softstring str, softstring substr, softint pos = -1);
int rindex();
list split(string sep, string str, bool with_separator = False);
list split(string sep, string str, string quote, bool trim_unquoted = False);
list split(binary sep, binary data);
list split();
string sprintf(string fmt, ...);
string sprintf();
int strlen(softstring str);
nothing strlen();
int strlen(any arg);
string strmul(softstring str, softint smul, *softint offset);
string substr(softstring str, softint start);
string substr(softstring str, softint start, softint len);
nothing substr();
string tolower(string str);
nothing tolower();
string toupper(string str);
nothing toupper();
string trim(string str, *string chars);
*string trim(reference str, *string chars);
nothing trim();
string trunc_str(softstring str, softint len, *string encoding);
string vprintf(string fmt, ...);
string vprintf();
string vsprintf(string fmt, any varg);
string vsprintf();
};
namespace Qore {
const RE_Caseless = PCRE_CASELESS;
const RE_DotAll = PCRE_DOTALL;
const RE_Extended = PCRE_EXTENDED;
const RE_Global = QRE_GLOBAL;
const RE_MultiLine = PCRE_MULTILINE;
};