/*JavaScript Application CookbookBy Jerry BradenbaughPublisher: O'Reilly Series: CookbooksISBN: 1-56592-577-7*/ strings.js ExampleEnter some words in the TEXTAREA below. Then choose Count for a word count: Enter some words in the TEXTAREA below. Then choose Upper or Lower to change the case: onClick="this.form.elements[0].value=camelCaps(this.form.elements[0].value, true);">onClick="this.form.elements[0].value=camelCaps(this.form.elements[0].value, false);">Enter some words in the TEXTAREA below. Then choose Sort to sort the text: onClick="this.form.elements[0].value=reorder(this.form.elements[0].value);">