---
title: Strings and Text
framework: swift
role: collectionGroup
role_heading: API Collection
path: swift/strings-and-text
---

# Strings and Text

Work with text using Unicode-safe strings.

## Topics

### Strings and Characters

- [String](swift/string.md)
- [Character](swift/character.md)

### Regular Expressions

- [Regex](swift/regex.md)
- [RegexRepetitionBehavior](swift/regexrepetitionbehavior.md)
- [RegexSemanticLevel](swift/regexsemanticlevel.md)
- [RegexWordBoundaryKind](swift/regexwordboundarykind.md)
- [AnyRegexOutput](swift/anyregexoutput.md)
- [RegexComponent](swift/regexcomponent.md)
- [CustomConsumingRegexComponent](swift/customconsumingregexcomponent.md)

### Encoding and Storage

- [Unicode](swift/unicode.md)

### Compile-Time Strings

- [StaticString](swift/staticstring.md)

## See Also

### Values and Collections

- [Numbers and Basic Values](swift/numbers-and-basic-values.md)
- [Collections](swift/collections.md)
- [Time](swift/time-and-duration.md)
