[rkward-cvs] SF.net SVN: rkward:[2734] trunk/rkward/rkward/scriptbackends/common.js

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Feb 11 08:55:58 UTC 2010


Revision: 2734
          http://rkward.svn.sourceforge.net/rkward/?rev=2734&view=rev
Author:   tfry
Date:     2010-02-11 08:55:58 +0000 (Thu, 11 Feb 2010)

Log Message:
-----------
Add convenience split function

Modified Paths:
--------------
    trunk/rkward/rkward/scriptbackends/common.js

Modified: trunk/rkward/rkward/scriptbackends/common.js
===================================================================
--- trunk/rkward/rkward/scriptbackends/common.js	2010-02-10 10:58:16 UTC (rev 2733)
+++ trunk/rkward/rkward/scriptbackends/common.js	2010-02-11 08:55:58 UTC (rev 2734)
@@ -82,6 +82,10 @@
 	return (ret);
 }
 
+function split (by, text) {
+	return (text.split (by));
+}
+
 function str_replace (needle, replacement, haystack) {
 	return (haystack.split (needle).join (replacement));
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list