- iOS 12 Programming for Beginners
- Craig Clayton
- 94字
- 2021-07-02 15:04:50
String
The first data type we will cover is a string. A series of characters represent a string. Strings are used to display text in an app. A string wrapped in quotes is known as a string literal. In programming, we cannot just add text to Playgrounds. So, to write a string, we must wrap our string inside quotes.
Let's add our name into Playgrounds, wrapped in quotes:

In Playgrounds, your values appear inside of your Results Panel. So, we now know that in order to create a string, we need to use quotes.
推薦閱讀
- Mastering Node.js(Second Edition)
- 網(wǎng)絡(luò)協(xié)議工程
- Twilio Cookbook
- 網(wǎng)絡(luò)創(chuàng)新指數(shù)研究
- Windows Server 2003 Active Directory Design and Implementation: Creating, Migrating, and Merging Networks
- 中國(guó)互聯(lián)網(wǎng)發(fā)展報(bào)告2018
- 智慧光網(wǎng)絡(luò):關(guān)鍵技術(shù)、應(yīng)用實(shí)踐和未來(lái)演進(jìn)
- 網(wǎng)絡(luò)環(huán)境中基于用戶(hù)視角的信息質(zhì)量評(píng)價(jià)研究
- Getting Started with nopCommerce
- 局域網(wǎng)組成實(shí)踐
- NB-IoT原理和優(yōu)化
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見(jiàn)(2018)
- 走近2050:注意力、互聯(lián)網(wǎng)與人工智能
- 萬(wàn)物互聯(lián):物聯(lián)網(wǎng)核心技術(shù)與安全
- 互聯(lián)網(wǎng)視覺(jué)設(shè)計(jì)(全彩慕課版)