FIND YOUR NEXT FEW LINES

Results for “character”

Small, practical examples. Search by task or narrow things down below.

205 snippets foundClear filters
SQLiteText cleanup & matching

Match a known text prefix

SQLite: A percent wildcard matches zero or more characters following the prefix.

SQLite✓ Tested
Arduino / CTiming & control

Measure a short delay with micros

Measure elapsed microseconds around a short operation.

micros✓ Tested
C#JSON & binary formats

Measure the byte length of UTF-8 text

C#: Character count and encoded byte count can differ for non-ASCII text.

C#✓ Tested
Arduino / CGetting Started

Name a fixed configuration value

Arduino / C: Name a fixed configuration value on an Uno with the Serial Monitor set to 9600 baud.

Arduino / C✓ Tested
SQLText cleanup & matching

Normalize ASCII text to uppercase

SQL: UPPER changes character case under the database’s text rules.

SQL✓ Tested
SQL ServerText cleanup & matching

Normalize ASCII text to uppercase

SQL Server: UPPER changes character case under the database’s text rules.

SQL Server✓ Tested
PostgresText cleanup & matching

Normalize ASCII text to uppercase

Postgres: UPPER changes character case under the database’s text rules.

Postgres✓ Tested
SQLiteText cleanup & matching

Normalize ASCII text to uppercase

SQLite: UPPER changes character case under the database’s text rules.

SQLite✓ Tested
C#Text validation & encoding

Normalize canonically equivalent Unicode strings

C#: Normalize to NFC before an ordinal comparison of equivalent character sequences.

C#✓ Tested
Arduino / CBinary values & packets

Pack two small values into one byte

Arduino / C: Mask each four-bit value before combining it.

Arduino / C✓ Tested
C++Numeric parsing & calculations

Parse a complete integer without exceptions

C++: from_chars reports both an error code and the first unconsumed character.

C++✓ Tested
CNumbers & memory

Parse an integer with validation

Validate range and trailing characters when parsing a C integer with strtol.

C✓ Tested