Microsoft
Software
Hardware
Network
Question : insert each word of a line of text into an element of an array
I have an XHTML document with imbedded JavaScript. In the script. when the user enters a line of text into a prompt box, I want to insert each word of that input into an element of an array. Is there a particular array method for that? The inputed string could be of varying lengths.
Answer : insert each word of a line of text into an element of an array
myString is an array
myString[0] is your first word
myString[myString.length-1
] is your last word
Random Solutions
SQL injection problem on several pages. Any server side solution to this
SSO Internet Explorer and Sharepoint Services 2008
(hopefully) Simple Excel 2007/2010 question
watchguard firewall rejects some pdf attachments, but not others
Script needed to close program and stop/start service
SPID process blocking itself
ASP.NET file download issues on selected machines/browsers
Converting example Outlook Redemption VBS to C#
perl, select rows of data into an array
PHP array, problems with multiple checkboxes