From 583c294453b8544689d108f611caa4768946054c Mon Sep 17 00:00:00 2001 From: darkicewolf50 Date: Sun, 19 Jan 2025 13:35:28 -0700 Subject: [PATCH] started ch8.2 --- .obsidian/workspace.json | 5 +++-- String.md | 10 ++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 String.md diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index cdc934d..6ed5b9c 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -27,12 +27,12 @@ "state": { "type": "markdown", "state": { - "file": "Vector.md", + "file": "String.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "Vector" + "title": "String" } }, { @@ -195,6 +195,7 @@ "active": "b80f5219fa24358f", "lastOpenFiles": [ "Collection of Common Data Structs.md", + "String.md", "Vector.md", "data_types.md", "Modules and Use.md", diff --git a/String.md b/String.md new file mode 100644 index 0000000..2be7b08 --- /dev/null +++ b/String.md @@ -0,0 +1,10 @@ +# String +String s are implemented as a collection bytes plus some methods o provide useful functionality when those bytes are interpreted as text. + +Strings can do everything that a UTF-8 character can + +These attached methods include creating, updating and reading. + +Strings are different to other collections, namely how indexing into a ``String`` is complicated by the differences between how people and computers interpret ``String`` data + +## What is a String?