Variable Types - Strings
- Forums
- Javascipt
- Variable Types - Strings
This Page Contains information about Variable Types - Strings By Webune in category Javascipt with 0 Replies. [2176], Last Updated: Mon Jun 24, 2024
Webune
Fri May 23, 2008
0 Comments
486 Visits
string variables are variables that represent a string of text. the string may contain letters, words, spaces, numbers, symbols or most anything you like. strings are defines in a slightly different way than numbers, using this syntax:
var variablename = "stringtext";
here are some more examples that will help you understand more about strings in variables
var mycar = "300zx";
var oldcar = "big brown station wagon";
var mycomputer = "pentium 5 xp, 8000 mHz, 8GB RAM";
var anything = "what? cool! I am @ home 4 now. (nice, right?)";