--- title: "Use strings in JavaScript" slug: "using-strings-in-javascript" updated: 2026-09-28T06:23:24Z published: 2026-09-28T06:23:24Z canonical: "help.quickbase.com/using-strings-in-javascript" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.quickbase.com/llms.txt > Use this file to discover all available pages before exploring further. # Use strings in JavaScript ## Overview In JavaScript, a **string** is a series of characters. Strings can include both **text** and **numbers** and are always contained within single or double **quotes**. You can use strings to define calculations and conditions within your form. *Example:* ```plaintext var x = "FastField"; ``` ## How it works You can **add** strings together. However, if there is at least one string, it will concatenate (combine side by side) as opposed to mathematically adding them. *Example:* ```plaintext var x = "FastField_"; var y = 'Mobile_Forms'; return x + y; FastField_Mobile_Forms ``` As we mentioned before, **numbers** can be strings too, but they do not function as they normally would when put in quotations. *Example:* ```plaintext var x = "123"; var y = '456'; return x + y; 123456 ``` You can also find the length of any text using the built-in **.length** property. *Example:* ```plaintext var x = "FastField"; var y = x.length; return y; ``` For more information about strings, *learn more about [JavaScript strings on W3Schools](http://www.w3schools.com/js/js_strings.asp)*.