350:#] dateTime_to_UnixSecFrom01Jan1970 IS OP timeStamp 384:#] sec_to_hhmmss IS OP secs 476:#] waitSecs IS OP secs - uses Linux sleep, best to simply use host 'sleep 1s' ; 483:#] wait_hhmmss IS OP secs - Linux sleep, converts hhmmss to ss 536:#] days_in_month IS OP month - days in monthNumber, (jan = 1, not zero!) 543:#] daysInYearTo_monthStart IS OP month - days in year up to start of month (not incl 1st day of month) 550:#] YYMMDD_to_days IS OP YYMMDD - days from (20)000101 to (20)YYMMDD 564:#] backTime IS OP YY MM day hur min minLess hurLess dayLess - calculate dateTime using Less values 600:#] month_name IS OP month_number - given 2-digit month number, returns 3 letter month name 629:#] emlDate_to_YYMMDD IS OP emlDate 648:#] emlDate_to_YYMMDD_HHMMSS IS OP emlDate 699:#] timestamp_YYMMDD_HMS IS OP sys_timestamp - format timestamp eg "dayOfWk MMM DD hh:MM:SS MST YYYY" 763:#] YYMMDD_to_DDMMMYYYY IS OP YYMMDD - converts dateStr format from fileOrder to manReadable 774:#] YYMMDD_to_DDMMMYY IS OP YYMMDD - converts dateStr format from fileOrder to manReadable 813:#] str_surroundWithApos IS OP str - convert str to string with apostrophes, or if not a string return 824:#] str_surroundWithAposAddTab IS OP str - convert str to string with apos & tab, or return input 836:#] str_to_unicodeList IS OP str - convert a string to a list of unicode characters (not unicode # sequences) 887:#] str_lastNonWhiteChr_position IS OP Str pos - retrieves the last non-whitespace character 902:#] chrAsStr_toUpperCase IS OP chr - convert a character to upper case, (non-Unicode) 918:#] chrAsStr_toLowerCase IS OP chr - convert a character to lower case, (non-Unicode) 934:#] str_toUpperCase IS OP str - convert all letters in a string to upper case, (non-Unicode) 944:#] str_toLowerCase IS OP str - convert all letters in a string to lower case, (non-Unicode) 954:#] str_capitalize1stCharOnly IS OP str - capitalize 1st char of str, rest small, 970:#] str_capitalize1stCharEachWord IS OP str - capitalise 1st char of each word, rest small, 996:#] set_globalChrSets IS OP chrSet1 chrSet2 - redefine global chrSets[1,2] 1015:#] chrAsStr_changeChrSet IS OP chrAsStr - return corresponding chrAstr in newChrSet, 1032:#] chrList_changeChrSet IS OP chrList - change chrsAsStrs in chrList from g_chrSet1 to g_chrSet2 1041:#] str_changeChrSet IS OP str oldChrSet newChrSet - change every oldChrSet in str to newChrSet 1052:#] str_swapChrSets IS OP str chrSet1 chrSet2 - change all chrSet1 in str to chrSet2, and visa-versa 1078:#] strURL_clean IS OP str - change all chrSet1 in str to chrSet2, and visa-versa 1158:#] str_findChrsInSet IS OP flag_chrs_include chrs_set str_in - search str_in 1178:#] str_find1stChrOf_subStr IS OP str subStr - returns list of Substr positions in Str, or an error 1197:#] str_findAllChrsOf_subStr IS OP str subStr - returns list of Substr positions in Str, or an error 1215:#] str_find1stChrOf_subStrL IS OP str subStrL - all subStr positions, for EACH subStr, in Str 1227:#] str_findAllChrsOf_subStrL IS OP str subStrL - all subStr positions, for EACH subStr, in Str 1244:#] chr_in_str IS OP chr Str - simple indication of whether chr is in str 1253:#] subStr_in_str IS OP Substr Str - simple indication of whether a Substr is in str 1306:#] subStrL_anyIn_str IS OP subStrL str - returns true if ANY of subStrL are in str 1320:#] str_in_path IS OP Substr p_name p_hostCmdRslt - boolean indicator that Substr is in file p_name 1370:#] write_testStr IS OP t_name t_input t_standard t_result - means of testing string answers 1382:#] str_isOf_chrSet IS OP str chrSet - true if all chrs in str are in chrSet 1394:#] test_comment IS OP t_name t_input t_standard t_result - means of testing string answers 1413:#] write_test_head IS OP t_name t_input t_standard t_result - output header for test? 1474:#] str_eachChrIs_white IS OP Str - boolean list of text - l for whitespace, o for other 1511:#] str_prepadWith_chr IS OP str len chr - example: zero-prepadding numbers to get constant str length 1539:#] str_postpadWith_chr_toLength IS OP str chr length - postpads str with chrs to get length 1554:#] str_strip_chr IS OP chr str - remove chr from string, standard QNial library 1568:#] str_stripAllSpacesQ IS OP Str - standard QNial library 1606:#] str_removeExtra_whitespace IS OP Str - removes [leading, multiple-sequence, trailing] whitespace 1638:#] str_remove_subStr IS OP str subStr - removes subStr from str 1660:#] str_repeatNtimesTo_strList IS OP str n - repeats str n times 1667:#] str_replace_subStr IS OP str sub_old sub_new - substitutes sub_new for sub_old in str 1752:#] str_extractPast_strFront IS OP strFull strFront - extract end of strFull after strFront 1770:#] str_extractBetween_strFront_strEnd IS OP strFull strFront - extract between strFront & strEnd 1811:#] str_cutBy_chr IS OP str chr - cut a string at each chr, omitting chr 1821:#] str_cutBy_subStr IS OP str subStr - splits str at each point that subStr occurs, omit subStr 1843:#] str_splitSeparate_subStr IS OP str subStr - subStr [splits str, separate] 1877:#] str_splitAtEnd_subStr IS OP str subStr - split str where subStr occurs, subStr @end of each split 1929:#] listInn_combos_splitAtFront_listOut IS OP listInn combos optrPhr listOut - 1944:#] str_splitAtFront_subStr IS OP str subStr - splits str at each point that subStr occurs 1969:#] str_splitSeparate_subStrL IS OP str subStrL - split str where subStr occurs, subStr separate split 1987:#] str_splitAtFront_subStrL IS OP str subStrL - splits str at each point that an item of subStrL occurs 2020:#] str_splitLftRgtTo_midIndxs_StrList IS OP str strLft strRgt - split str, return [indxs, strLst] 2057:#] str_replaceSubTo_strList IS OP str subStrOld subStrNew - splits str at each subStrOld, replace subStrOld with subStrNew 2092:#] str_splitByWidthTo_strList IS OP str Width - cut str into strings of equal length 2131:#] strL_replace_str IS OP strL subOld subNew - replace all subStrOld by subStrNew in strList 2152:#] aryList_extractMulplicate_subArys IS OP selectOp strList - find mulplicates in strList by selectOp 2159:#] strL_selectOddNum_subStrL IS OP strL - useful for inclusion in a list of strL for [terminal, file] output 2170:#] str_subStrs_getLenMatches_subStrPairs IS OP str subStrs - return (str = link subStrPairs) 2217:#] strL_eachQuoted_strOut IS OP strL - convert strL to a single string of [quote, space]d subStrs 2230:#] strL_to_strExecuteMirror IS OP strL - convert strL to a self-return executable (eg for writefile) 2246:#] listOfStrL_to_strExecuteMirror IS OP listOfStrL - convert listOfStrL to a self-return executable 2274:#] str_splitWithChrsAllowedTo_words IS OP str chrSet - splits str into words based on allowable chrSet 2311:#] str_splitByChrsNotAllowedTo_words IS OP str chrSet - splits str by dis-allowable chrSet (no-work!!) 2341:#] booleanList_cutTo_indexLists IS OP booleanList - boolean list cut into alternate [o, l] sublists 2370:#] str_cutTo_wordList IS OP str chrList - returns the list of words in a string, chrList are wordChrs 2389:#] word_findPosnIn_str IS OP wrd str wType cList - returns a list of positions of a word in a string 2398:#] word_replaceIn_str IS OP sOld sNew str chrList - change word throughout string (safe for variables) 2429:#] atomList_to_str IS OP S A - creates one string from a list of atoms, separating each by S 2478:#] array_to_str IS OP A - converts array A to a string, each item separated by one blank (Qnial lib) 2527:#] str_convertTo_numOrStr IS OP str - if str can be made numeric [boolean, integer, real] do so 2551:#] str_extractBetween_StrtEnd IS OP str strStrt strEndr - extracts sub-strings bracketed by [strStrt,strEndr] 2615:#] winID_copyAllTextTo_poutNew IS OP winID pname - copy text of webPage and pre-pend to file 2639:#] str_executeEmbeds IS OP str phraseValueList - execute embeds in line, return a str