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

  • Expert Angular
  • Mathieu Nayrolles Rajesh Gunasundaram Sridhar Rao
  • 62字
  • 2021-07-15 17:05:30

String

The string data type can hold a sequence of characters. Declaring and initializing the string variable is very simple, as follows:

var authorName: string = "Rajesh Gunasundaram"; 

Here, we declared a variable named authorName as a string, and it is assigned the value Rajesh Gunasundaram. TypeScript supports surrounding the string value with either a double quotes (") or single quotes (').

主站蜘蛛池模板: 宁城县| 左贡县| 和政县| 焦作市| 武穴市| 云梦县| 汨罗市| 茂名市| 贞丰县| 黄平县| 绿春县| 个旧市| 沈阳市| 法库县| 维西| 县级市| 会昌县| 满洲里市| 游戏| 霍城县| 安多县| 库车县| 唐山市| 深州市| 个旧市| 郯城县| 明星| 大庆市| 平江县| 九台市| 汾阳市| 皮山县| 清涧县| 西乌珠穆沁旗| 高雄县| 尤溪县| 固安县| 郯城县| 五峰| 秦皇岛市| 沭阳县|