includes/clientside/static/misc.js
changeset 537 547b7ba6d535
parent 520 4c16e87cfeae
child 550 685e839d934e
--- a/includes/clientside/static/misc.js	Mon Apr 14 12:13:12 2008 -0400
+++ b/includes/clientside/static/misc.js	Mon Apr 14 22:02:04 2008 -0400
@@ -630,4 +630,13 @@
   el.setAttribute('enano:expand', 'open');
 }
 
+/**
+ * Equivalent to PHP's explode function.
+ */
+
+function explode(needle, haystack)
+{
+  return haystack.split(needle);
+}
+
 addOnloadHook(expander_onload);