--- title: String (文字列) slug: Glossary/String tags: - Beginner - CodingScripting - Glossary - String translation_of: Glossary/String --- <p>コンピュータープログラミング言語において、文字列 (string) とはテキストを表す連続した{{Glossary("character","文字")}}のことです。</p> <p>{{Glossary("JavaScript")}} では、文字列は{{Glossary("Primitive", "プリミティブ値")}}の一つで、{{jsxref("String")}} オブジェクトが文字列プリミティブの{{Glossary("wrapper","ラッパー")}}オブジェクトになります。</p> <h2 id="Learn_more">関連項目</h2> <h3 id="General_knowledge">基礎知識</h3> <ul> <li>Wikipedia 上の記事「{{Interwiki("wikipedia", "文字列")}}」</li> <li><a href="/ja/docs/Web/JavaScript/Data_structures#string_type">JavaScript のデータ型とデータ構造</a></li> </ul>