$String_utils:from_list()
|
;$string_utils:from_list({"1", "2"}) => "12" ;$string_utils:from_list({"1", "2"}, "j") => "1j2" ;$string_utils:from_list({"1", "2"}, "\"") => "1\"2" |
$String_utils:english_list()
|
;$string_utils:english_list({"1", "2"}) => "1 and 2" ;$string_utils:english_list({"1", "2", "er"}) => "1, 2, and er" ;$string_utils:english_list({}) => "nothing" ;$string_utils:english_list({}, "gnihton") => "gnihton" ;$string_utils:english_list({"1", "ed", "45rt"}, "gnihton") => "1, ed, and 45rt" ;$string_utils:english_list({"1", "ed", "45rt"}, "nothing", " or ") => "1, ed, or 45rt" ;$string_utils:english_list({"1", "ed", "45rt"}, "nothing", " or ", ";_") => "1;_ed, or 45rt" ;$string_utils:english_list({"1", "ed", "45rt", "tr", "5t"}, "nothing", " or ", ";_") => "1;_ed;_45rt;_tr, or 5t" ;$string_utils:english_list({"1", "ed", "45rt", "tr", "5t"}, "nothing", ";_", ";_") => "1;_ed;_45rt;_tr,;_5t" ;$string_utils:english_list({"1", "ed", "45rt", "tr", "5t"}, "nothing", ";", ";") => "1;ed;45rt;tr,;5t" ;$string_utils:english_list({"1", "ed", "45rt", "tr", "5t"}, "nothing", " or ", ";_", "!") => "1;_ed;_45rt;_tr! or 5t" ;$string_utils:english_list({"1", "ed", "45rt", "tr", "5t"}, "nothing", ";", ";", "") => "1;ed;45rt;tr;5t" |
$String_utils:title_list*c/list_title*c()
|
;$string_utils:title_list({#82, #10, #72}) => "Server Options, Login Commands, and Network Utilities" ;$string_utils:title_list({#82, #10, #72},"nothing", ";", ";", "") => "Server Options;Login Commands;Network Utilities" |
$String_utils:from_value()
|
;$string_utils:from_value("ewrew" + "cvxxc") => "ewrewcvxxc" ;$string_utils:from_value(#3) => "#3" ;$string_utils:from_value({"RWER", "zxc"}) => "{RWER, zxc}" ;$string_utils:from_value({"RWER", "zxc"},1) => "{\"RWER\", \"zxc\"}" |
$String_utils:print()
|
;$string_utils:print({"RWERzxc"}) => "{\"RWERzxc\"}" ;$string_utils:print("RWERzxc") => "\"RWERzxc\"" ;$string_utils:print(E_RANGE) => "E_RANGE" |
$String_utils:abbreviated_value()
|
If no arguments are passed with value, $maxint will be used.
example:
|
$String_utils:to_value()
|
;$string_utils:to_value("#2") => {1, #2} ;$string_utils:to_value("2") => {1, 2} ;$string_utils:to_value("fff") => {0, "after char 0: `f' unexpected"} |
$String_utils:prefix_to_value()
|
;$string_utils:prefix_to_value("#12 bn") => {" bn", #12} |
$String_utils:english_number()
|
;$string_utils:english_number(34545) => "thirty-four thousand five hundred forty-five" ;$string_utils:english_number(0) => "zero" ;$string_utils:english_number(-45) => "negative forty-five" |
$String_utils:english_ordinal()
|
;$string_utils:english_ordinal(3) => "third" ;$string_utils:english_ordinal(0) => "zeroth" ;$string_utils:english_ordinal(-12) => "negative twelfth" |
$String_utils:ordinal()
|
;$string_utils:ordinal(23) => "23rd" ;$string_utils:ordinal(2) => "2nd" ;$string_utils:ordinal(0) => "0th" ;$string_utils:ordinal(-1) => "-1st" |
$String_utils:group_number()
|
;$string_utils:group_number(34324) => "34,324" ;$string_utils:group_number(34324, ".") => "34.324" |
$String_utils:from_ASCII()
|
;$string_utils:from_ascii(32) => " " ;$string_utils:from_ascii(33) => "!" ;$string_utils:from_ascii(34) => """ ;$string_utils:from_ascii(35) => "#" ;$string_utils:from_ascii(36) => "$" ;$string_utils:from_ascii(37) => "%" ;$string_utils:from_ascii(38) => "&" ;$string_utils:from_ascii(39) => "'" ;$string_utils:from_ascii(40) => "(" ;$string_utils:from_ascii(41) => ")" ;$string_utils:from_ascii(42) => "*" ;$string_utils:from_ascii(43) => "+" ;$string_utils:from_ascii(44) => "," ;$string_utils:from_ascii(45) => "-" ;$string_utils:from_ascii(46) => "." ;$string_utils:from_ascii(47) => "/" ;$string_utils:from_ascii(48) => "0" ;$string_utils:from_ascii(49) => "1" ;$string_utils:from_ascii(50) => "2" ;$string_utils:from_ascii(51) => "3" ;$string_utils:from_ascii(52) => "4" ;$string_utils:from_ascii(53) => "5" ;$string_utils:from_ascii(54) => "6" ;$string_utils:from_ascii(55) => "7" ;$string_utils:from_ascii(56) => "8" ;$string_utils:from_ascii(57) => "9" ;$string_utils:from_ascii(58) => ":" ;$string_utils:from_ascii(59) => ";" ;$string_utils:from_ascii(60) => "<" ;$string_utils:from_ascii(61) => "=" ;$string_utils:from_ascii(62) => ">" ;$string_utils:from_ascii(63) => "?" ;$string_utils:from_ascii(64) => "@" ;$string_utils:from_ascii(65) => "A" ;$string_utils:from_ascii(66) => "B" ;$string_utils:from_ascii(67) => "C" ;$string_utils:from_ascii(68) => "D" ;$string_utils:from_ascii(69) => "E" ;$string_utils:from_ascii(70) => "F" ;$string_utils:from_ascii(71) => "G" ;$string_utils:from_ascii(72) => "H" ;$string_utils:from_ascii(73) => "I" ;$string_utils:from_ascii(74) => "J" ;$string_utils:from_ascii(75) => "K" ;$string_utils:from_ascii(76) => "L" ;$string_utils:from_ascii(77) => "M" ;$string_utils:from_ascii(78) => "N" ;$string_utils:from_ascii(79) => "O" ;$string_utils:from_ascii(80) => "P" ;$string_utils:from_ascii(81) => "Q" ;$string_utils:from_ascii(82) => "R" ;$string_utils:from_ascii(83) => "S" ;$string_utils:from_ascii(84) => "T" ;$string_utils:from_ascii(85) => "U" ;$string_utils:from_ascii(86) => "V" ;$string_utils:from_ascii(87) => "W" ;$string_utils:from_ascii(88) => "X" ;$string_utils:from_ascii(89) => "Y" ;$string_utils:from_ascii(90) => "Z" ;$string_utils:from_ascii(91) => "[" ;$string_utils:from_ascii(92) => "\" ;$string_utils:from_ascii(93) => "]" ;$string_utils:from_ascii(94) => "^" ;$string_utils:from_ascii(95) => "_" ;$string_utils:from_ascii(96) => "`" ;$string_utils:from_ascii(97) => "a" ;$string_utils:from_ascii(98) => "b" ;$string_utils:from_ascii(99) => "c" ;$string_utils:from_ascii(100) => "d" ;$string_utils:from_ascii(101) => "e" ;$string_utils:from_ascii(102) => "f" ;$string_utils:from_ascii(103) => "g" ;$string_utils:from_ascii(104) => "h" ;$string_utils:from_ascii(105) => "i" ;$string_utils:from_ascii(106) => "j" ;$string_utils:from_ascii(107) => "k" ;$string_utils:from_ascii(108) => "l" ;$string_utils:from_ascii(109) => "m" ;$string_utils:from_ascii(110) => "n" ;$string_utils:from_ascii(111) => "o" ;$string_utils:from_ascii(112) => "p" ;$string_utils:from_ascii(113) => "q" ;$string_utils:from_ascii(114) => "r" ;$string_utils:from_ascii(115) => "s" ;$string_utils:from_ascii(116) => "t" ;$string_utils:from_ascii(117) => "u" ;$string_utils:from_ascii(118) => "v" ;$string_utils:from_ascii(119) => "w" ;$string_utils:from_ascii(120) => "x" ;$string_utils:from_ascii(121) => "y" ;$string_utils:from_ascii(122) => "z" ;$string_utils:from_ascii(123) => "{" ;$string_utils:from_ascii(124) => "|" ;$string_utils:from_ascii(125) => "}" ;$string_utils:from_ascii(126) => "~" |