/* test rig */ var t = 1, tmax = 3
function ok (a, d) { console.log(a ? 'ok ' + (t++) + ' -' : 'not ok ' + (t++) + ' -', d); }
console.log(t + '..' + tmax);
ok(process.versions.colony, 'running in colony')

ok("1234567890".substring(3, 6) == "456", 'substring')
ok("ababababab".indexOf('a') == 0, 'indexOf')
ok("ababababab".lastIndexOf('a') == 8, 'lastIndexOf')
ok("a,b,c,d,e".split(',').length == 5, 'split (string)')
console.log("#", "a,b,c,d,e".split(/,/));
ok("a,b,c,d,e".split(/,/).length == 5, 'split (regexp)')

@@ -26,17 +26,17 @@
  tmax = 
-3
+7
 %0Afunctio
@@ -252,16 +252,65 @@
 ubstring
+ 1')%0Aok(%22abc%22.substring(0, 0) == %22%22, 'substring 2
 ')%0Aok(%22a
@@ -503,16 +503,16 @@
 (/,/));%0A
-
 ok(%22a,b,
@@ -556,12 +556,89 @@
  (regexp)')%0A
+ok(%22abc%22.slice(0,0) == %22%22, 'slice 1')%0Aok(%22abc%22.slice(0,1) == %22a%22, 'slice 2')%0A

Add more tests for strings