Skip to content
Sharpy
string
Initializing search
antonsynd/sharpy
Sharpy
antonsynd/sharpy
Home
Language Reference
Language Reference
Overview
Introduction
Lexical Structure
Lexical Structure
Source Files
Identifiers
Keywords
Indentation
Comments
Lexer Implementation
Literals
Literals
Integer Literals
Float Literals
Extended Numeric Literals
String Literals
F-Strings
Template Strings
Boolean Literals
None Literal
Ellipsis Literal
Types
Types
Primitive Types
String Type
LiteralString
Type Annotations
Type Annotation Shorthand
Type Hierarchy
Nullable Types
Named Tuples
Function Types
Function Types
Function Types
Delegates
Operators
Operators
Arithmetic
Comparison
Comparison Chaining
Logical
Bitwise
String Operators
Membership
Identity
Assignment
Null Coalescing (??)
Null Coalescing Assignment (??=)
Null Conditional Access (?.)
Question-Mark / Early-Return (?)
Pipe Operator (|>)
Operator Precedence
Type Narrowing
Expressions
Expressions
Expressions
Type Casting
Lambdas
Partial Application
Expression Blocks
Collection Types
Collection Types
Collections
Spread Operator
Statements
Statements
Statements
Variable Declaration
Del Statement
Variable Scoping
Variable Scoping
Scoping Rules
Pass Statement
Break and Continue
Return Statement
Assert Statement
Control Flow
Control Flow
If Statement
While Statement
For Statement
Loop Else
Exception Handling
Functions
Functions
Function Definition
Function Parameters
Method Overloading
Default Parameters
Variadic Arguments
Flexible Arguments
Parameter Modifiers
Generators
Classes
Classes
Classes
Class Methods
Constructors
Imports
Imports
Import Statements
Module Resolution
Module System
Structs
Interfaces
Interfaces
Interfaces
Default Methods
Inheritance
Decorators
Generics
Generics
Generics
Generic Variance
Type Parameter Defaults
Enumerations
Operator Overloading
Operator Overloading
Operator Overloading
Dunder Methods
Dunder Recommendations
Dunder Invocation Rules
Conversion Operators
Pattern Matching
Type Aliases
Tagged Unions
Tagged Unions
Tagged Unions
Result Type
Optional Type
Try Expressions
Maybe Expressions
Comprehensions
Comprehensions
Comprehensions
Tuple Unpacking
Walrus Operator
Properties
Properties
Properties
Function-Style Properties
Property Inheritance
Context Managers
Events
Async Programming
Built-in Functions
Name Mangling
.NET Interop
Static Methods
Naming Conventions
Naming Conventions
Naming Conventions
Conventions
Program Entry Point
Dataclass
Deferred Features
Standard Library
Standard Library
Overview
Built-in Functions
Core Types
Core Types
list
dict
set
complex
Modules
Modules
argparse
base64
bisect
calendar
collections
colorsys
configparser
copy
csv
datetime
difflib
email
fnmatch
fractions
functools
glob
grapheme
gzip
hashlib
heapq
hmac
html
http
io
ipaddress
itertools
json
logging
math
numpy
operator
os
pathlib
platform
pprint
random
re
requests
secrets
shlex
shutil
socket
sqlite3
statistics
string
struct
subprocess
sys
tarfile
tempfile
textwrap
threading
time
toml
unittest
urllib
uuid
xml
yaml
zipfile
zlib
zoneinfo
Tooling
Tooling
Editor Integration
VS Code Extension
LSP Server
Benchmarks
Playground
string
¶
Common string constants and operations.
import
string
Back to top