LogoLogo
  • Internet Object 1.0
  • Internet Object
    • Abstract
    • The Poetic Principles of Internet Object
    • Objectives
    • Introducing Internet Object
  • The Structure
    • Internet Object Document
      • Header
      • Data Sections
    • Structural Elements
      • Structural Characters and Literals
      • Literals
      • Other Special Characters
      • Whitespaces
    • Values Representations
      • Objects
      • Arrays
      • Strings
        • Open Strings
        • Regular Strings
        • Raw Strings
      • Numeric Values
        • Number
        • BigInt
        • Decimal
        • Special Numeric Integer Formats
          • Hexadecimal
          • Octal
          • Binary
        • NaN and Infinity
      • Binary
      • Date and Time
      • Booleans
      • Nulls
    • Comments
    • Encoding
  • The Collections
    • Collection
    • Creating Collection
    • Collection Rules
    • Data Streaming
  • The Definitions
    • Definitions
    • Variables
    • Complex Schema
  • Schema Definition Language
    • Internet Object Schema
    • The structure
    • Data Types
      • Any
      • String
        • String Derived Types
          • Email
          • URL
          • Date
          • Time
          • DateTime
      • Number
        • Derived Types
          • int
          • byte
          • int16
          • int32
      • Object
      • Array
      • Bool
    • Dynamic Schema
    • Is Object, a MemberDef or a Schema?
  • Other
    • Best Practices
    • FAQs
    • Contributors
    • License
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. The Structure
  2. Values Representations

Strings

Strings in Internet Object

PreviousArraysNextOpen Strings

Last updated 8 months ago

Was this helpful?

Like many programming languages, strings in Internet Object are a sequence of Unicode codepoints. They may be enclosed in quotation marks (" U+0022 or ' U+0027) or remain free without being enclosed. One noticeable difference with Internet Object strings is they all preserve the whitespace found within the boundary!

String Formats

The Internet Object strings can be written in three different formats (a) Open Strings (b) Regular Strings (c) Raw Strings. All of these formats have different ways of representing strings and handling escapes.

The Internet Object String Format

All formats of strings in Internet Object preserve the whitespaces or any permissible codepoint found within the string boundary.