... ------- BigStr::lstrip ------- () (#) ( #) (#) (#) () ( ) ( ) ( # ) ------- BigStr::rstrip ------- () (#) (#) ( #) (#) () ( ) ( ) ( # ) ------- BigStr::strip ------- () () () (##) (hi) ---------- Done ---------- . ------- BigStr::upper ------- () (UPPER) (UPPER_UPPER) ------- BigStr::lower ------- () (lower) (lower_lower) ---------- Done ---------- . ----- BigStr::replace ------- (-- cd -- ef) (---- cd ---- ef) (0) (0) (ab cd ab ef) (ab cd ab 0) (ab cd ab e0) (0 0 0) (000) (0000) ( 123) ( 123) (abc 123) (bbbb) (bbbbbb) . ------- BigStr::ljust ------- () (_) (____) (x) (x) (x_) (xx) (xx) (xx) (xx) (xx__) ------- BigStr::rjust ------- () (_) (____) (x) (x) (_x) (xx) (xx) (xx) (xx) (__xx) ---------- Done ---------- . ------- BigStr::slice ------- (abcde) (bcde) () (abcdef) (abcdef) () () (f) () () () () () () () () () () ---------- Done ---------- . ------- str_concat ------- () (a) (aa) (b) (bb) (ab) (aab) (abb) (aabb) ------- str_concat3 ------- () (a) (ab) (abc) (ac) (aa) (aab) (aabc) (aac) . ------- to_int ------- (0) -> (0) (1) -> (1) (-1) -> (-1) (100) -> (100) (2147483646) -> (2147483646) (-2147483647) -> (-2147483647) . str_contains .------ BigStr::helpers ------ . ------- BigStr::split ------- (abc def) (abc) (def) () () () () ( ) () () ( ) () (#) () ( ) () () ( ) () () (a) (b) (c) (d) (e) (f) (g) (a) (b) (c) (d,e,f,g) (a,b,c,d,e,f,g) () () (#) ---------- Done ---------- . -------- BigStr::join ------- () () (one string) (abcdef) (abc def abc def abc def abc def) ---------- Done ---------- ...f1212d f123123 f123x123 foo .--- len = 1 --- len = 2 --- len = 3 --- len = 2 --- len = 3 --- len = 4 --- len = 3 0 [] 0 [] 1 [] 0 [] 1 [] 2 [] 0 [a] 1 [b] 0 [abc] 1 [def] 2 [] 0 [] 1 [abc] 2 [def] 3 [] 0 [abc] 1 [def] 2 [ghi] .char funcs slice() strip() startswith endswith rjust() and ljust() join() .ord() chr() str_concat() str_repeat() repr() 'A' '' "'" 'NUL \x00 NUL' 'tab\tline\nline\r\n' 'high \xff \xfe high' .f o o d .s[0] = h s[1] = e s[2] = l s[3] = l s[4] = o . Total: 22 tests (795 ticks, 0.001 sec), 338 assertions Pass: 22, fail: 0, skip: 0.