[Xerte] replace function returns null?

Dave Burnett d_b_burnett at hotmail.com
Mon May 6 11:48:33 BST 2013



myString = 'hello cruel world';newstring = myString.replace('hello','goodbye');debug(newstring);  // returns null
What silly thing am I doing?


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130506/c06f25f1/attachment.html>


More information about the Xerte mailing list