Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

- JavaScript Text Strings FAQ Knowledge Base

irt.org | Knowledge Base | JavaScript | Text Strings

  • FAQ 37 How do I embed single and double quotes within a string?

  • FAQ 100 How can I add diacritical letters such as è to a textarea?

  • FAQ 132 Is there a maximum string length?

  • FAQ 133 How do you make a text link read "Naht S'wew?" and Then OnMouseOver change to "What's New?"?

  • FAQ 171 How can I implement a Search capability to find a word in the current document using JavaScript?

  • FAQ 229 How can you filter multiple words in an array and replace them with other words?

  • FAQ 241 How do I strip leading and trailing blanks off of a string (without writing a function to treat character by character)?

  • FAQ 242 How can I replace diacritical characters?

  • FAQ 243 How can I replace HTML entities with the appropriate characters?

  • FAQ 278 How can I reverse text in a form field?

  • FAQ 279 How can I ROT13 text in a textarea?

  • FAQ 303 How can I force all characters to be uppercase before the user submits the form?

  • FAQ 348 How can I ensure that a string only contains characters that I want?

  • FAQ 356 Can I grab the selected text from a page?

  • FAQ 362 Is it possible for a character sequence of a/ to be combined into the aacute diacritical character?

  • FAQ 424 How do you convert a character to it's ascii value without using the V4 browser compatible charCodeAt()?

  • FAQ 489 How can I provide a simple search facility on a page?

  • FAQ 501 Is there any quick non-recursive sort?

  • FAQ 520 How do I change the size of the font?

  • FAQ 531 How can I capitalise the first letter of every word?

  • FAQ 569 How do you change the text size and make it bold?

  • FAQ 631 Are you sure you can't simulate charCodeAt() in browsers that don't support it?

  • FAQ 678 Can I unselect selected text?

  • FAQ 709 How can I remove invalid characters from a form field before submission?

  • FAQ 745 How can I use the find() method in Netscape Navigator 4 to search the text in a textarea form field?

  • FAQ 771 How can I simply replace a character pair like \n with something like a ^?

  • FAQ 841 How can I seach an array of text strings so that as you type in a search term it finds and highlights any matches?

  • FAQ 941 How can I convert all the text in a textarea to upper case, when the text has changed?

  • FAQ 972 How can I convert an ASCII code to the correct character?

  • FAQ 977 What is the hexidecimal Latin-1 encoding value for the backslash character (\)?

  • FAQ 1007 What is the continuation character in JavaScript?

  • FAQ 1018 How do I replace all the carriage returns in a string?

  • FAQ 1116 Why is it not a good idea to have strings beyond 255 characters?

  • FAQ 1122 Is there any way to find the ASCII value of a character?

  • FAQ 1140 Is there a javascript function to convert non standard text characters to their ANSI code?

  • FAQ 1227 How can I encode a character string into its hexadecimal ASCII representation?

  • FAQ 1310 How can I trim leading or trailing whitespace/extra spaces?

  • FAQ 1325 Is there any way to reverse a string?

  • FAQ 1393 How can I strip leading and trailing characters?

  • FAQ 1474 Can you do string concatenationin JavaScript like you can in other scripting languages?

  • FAQ 1583 How can I replace all non alphanumeric characters from a string?

  • FAQ 1600 How do I use the inch sign (") in a string?

  • FAQ 1619 How do I get a word count of a string?

  • FAQ 1637 How can I get the first 200 characters from a text string?

  • FAQ 1653 How can I compare two strings to ensure they are equal?

  • FAQ 1658 How do I automatically insert a character after every Nth character in a string?

  • FAQ 1699 How can I create a fixed length String Buffer that I can append text to?

  • FAQ 1726 How can I count of number of instances of a particular word or character in a string?

  • FAQ 1749 How can I assign five substrings of a larger string to the variables named str1, str2... to str5?

  • FAQ 1750 How do I test the equality of two strings?

  • FAQ 1752 Can JavaScript use newline characters to format the output?


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.