官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 棋牌| 天峨县| 保山市| 庆云县| 鹰潭市| 河北区| 南溪县| 朝阳市| 老河口市| 白银市| 武义县| 合江县| 潮州市| 天镇县| 神池县| 松阳县| 九江县| 丰城市| 新余市| 荆州市| 定日县| 合作市| 遵义市| 东方市| 沙坪坝区| 谷城县| 依兰县| 资源县| 汤原县| 改则县| 衡东县| 长治市| 泽库县| 二连浩特市| 滦平县| 蛟河市| 盐源县| 庆云县| 商洛市| 安阳市| 昌江|