StuffPlug Talker - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: StuffPlug Talker (/showthread.php?tid=51029) StuffPlug Talker by spokes on 09-27-2005 at 09:18 PM
Can anyone make me a quick talker that will make the first letter of every word upper case? RE: StuffPlug Talker by mwe99 on 09-27-2005 at 09:24 PM So You Want Something Like This? RE: StuffPlug Talker by CookieRevised on 09-27-2005 at 10:27 PM
You can't make it much quicker than this I think (in VBS at least)... In JS it can be made a bit more effecient as you can change parts of a string; in VBS you can only add to a string. code: Note: this does NOT take in acount _real_ words. This means textual words which are delimited by commas are other textual delimiters are not reconized. The only reconition done is by space: "this sEntEnce will be cHanged.but this and ,that not;this neither." => "This Sentence Will Be Changed.but This And ,that Not;this Neither." ----------- To also have that you need to add the following (again VBS): code: "this sEntEnce will be cHanged.also this and ,that;this also." => "This Sentence Will Be Changed.Also This And ,That;This Also." All this can be made a bit more efficient in JScript... Also, if you use Regular Expressions it can be made even more efficient (both in JScript as in VBS) |