189 any try_split(
string arg);
193 hash eval_text(
string arg,
bool err =
False);
234 const StorageNames = (
"Kilo",
"Mega",
"Giga",
"Tera",
"Peta",
"Exa",
"Zetta",
"Yotta",
"Bronto");
string get_exception_string(hash ex)
returns a multi-line string from the exception hash argument suitable for logging or output on the co...
string normalize_dir_windows(string dir, string cwd=getcwd())
returns a normalized Windows path name (eliminates ".", "..", and "//")
string normalize_dir(string dir, string cwd=getcwd())
returns a platform-specific normalized path name (starting from /, eliminates ".", "..", and "//")
any parse_to_qore_value(string arg)
tries to convert a string (such as an argument given from the command-line) to a Qore value ...
string get_byte_size(softnumber n, int decimals=2)
returns a string giving a user-friendly real storage size (ie based on 1KiB = 1024 bytes) in KiB...
bool absolute_path_windows(string path)
returns True if the argument is a Windows absolute path, False if not
string normalize_dir_unix(string dir, string cwd=getcwd())
returns a normalized UNIX path name (starting from /, eliminates ".", "..", and "//") ...
const StorageNames
storage names (Geop, which would normally follow Bronto, is excluded as the abbreviation would be GB/...
Definition: Util.qm.dox.h:234
int compare_version(string lv, string rv)
compares complex versions by breaking down strings into component parts
string get_random_string(softint len=15, int level=3)
function that returns a random string
string get_marketing_byte_size(softnumber n, int decimals=2)
returns a string giving a user-friendly "marketing storage" size (ie based on 1KB = 1000 bytes) in KB...
bool absolute_path(string path)
returns True if the argument is an absolute path, False if not
bool absolute_path_unix(string path)
returns True if the argument is a UNIX absolute path, False if not