Files
freeCodeCamp/guide/arabic/javascript/standard-objects/string/index.md
2018-10-16 21:32:40 +05:30

13 lines
972 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: String
localeTitle: خيط
---
## خيط
في JavaScript ، يكون الكائن العام `String` هو مُنشئ للسلاسل ، والتي تخزن سلسلة من الأحرف. يمكن إنشاء سلاسل في شكل حرفي ، مثل `var greeting = "Hi, campers!";` أو باستخدام مُنشئ `String` : `var greeting = new String("Hi, campers!");` .
وخلافا لبعض اللغات الأخرى، وجافا سكريبت لا يهمني إذا كنت تستخدم واحد `' '` أو مزدوجة `" "` نقلت عن السلاسل. يمكنك حتى استخدامها اخل_ السلاسل ، يجب أن تكون مختلفة عن علامات الاقتباس التي تحتضن السلسلة `"Isn't that awesome?"` .
#### معلومات اكثر:
[MDN web docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) [w3schools.com](https://www.w3schools.com/jsref/jsref_obj_string.asp)