2015-01-24 04:45:23 +00:00
|
|
|
var str = "string"
|
|
|
|
|
|
2015-09-15 14:46:09 +00:00
|
|
|
System.print(str.join("") == str) // expect: true
|
2015-01-24 04:45:23 +00:00
|
|
|
|
2015-09-15 14:46:09 +00:00
|
|
|
System.print(str.join(", ")) // expect: s, t, r, i, n, g
|
feat: add 8-bit string test cases across concatenation, contains, count, ends_with, equality, index_of, iterate, iterator_value, join, starts_with, subscript, and to_string
2015-02-04 12:58:16 +00:00
|
|
|
|
2015-02-05 04:26:29 +00:00
|
|
|
// 8-bit clean.
|
feat: add 8-bit string test cases across concatenation, contains, count, ends_with, equality, index_of, iterate, iterator_value, join, starts_with, subscript, and to_string
2015-02-04 12:58:16 +00:00
|
|
|
var ing = "a\0b\0c"
|
2015-09-15 14:46:09 +00:00
|
|
|
System.print(ing.join("") == ing) // expect: true
|
|
|
|
|
System.print(ing.join(", ") == "a, \0, b, \0, c") // expect: true
|