Subj : console.putmsg alternative that returns a string To : Nightfox From : Deuce Date : Mon Oct 06 2014 02:38 pm Re: console.putmsg alternative that returns a string By: Nightfox to Psi-Jack on Sun Oct 05 2014 09:51 am > That seems to work well. I'm curious, how did you find that you could use > an anonymous function for the replacement value in the JavaScript string > replace() method? I've often referred to the w3schools.com JavaScript > documentation, and their documentation for the string replace() method > seems to imply that it expects a string for the replacement value: > www.w3schools.com/jsref/jsref_replace.asp http://www.synchro.net/docs/js/ref Specifically: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Object s/String/replace#Specifying_a_function_as_a_parameter --- http://DuckDuckGo.com/ a better search engine that respects your privacy. þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!) .