The Error console missed an incorrect parameter count in the gsub() line. I am using 1.6.0 beta2 and 1.7.0 a versions to test. The following code produces nothing, but does pass the error console tests.
$_Snippet_List = "something,0,28 other,29,42 " ;
alert(gsub(" ","?".$_Snippet_List), "Where are the spaces?", INFO);
Because of the mistyped '.' for a ',', there are only two parameters when three are required. Nothing is displayed.