FIND YOUR NEXT FEW LINES

Results for “ascii”

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

49 snippets foundClear filters
RustStrings & Unicode

Compare ASCII text ignoring case

Compare ASCII text ignoring case in a complete Rust program using the standard library.

Rust✓ Tested
C++Text validation & parsing

Convert ASCII text to lowercase safely

C++: Cast each byte to unsigned char before using the cctype function.

C++✓ Tested
CBinary formats & structured parsing

Convert ASCII text to lowercase safely

C: Cast to unsigned char before calling ctype functions on a possibly signed char.

C✓ Tested
CStrings

Convert ASCII text to uppercase

Convert characters with toupper while avoiding signed-char undefined behavior.

C✓ Tested
Arduino / CSerial protocols

Convert received ASCII letters to uppercase

Arduino / C: ctype functions should receive an unsigned character value.

Arduino / C✓ Tested
SQLText cleanup & matching

Normalize ASCII text to lowercase

SQL: LOWER is useful for display normalization; indexed case-insensitive search depends on the database collation and schema.

SQL✓ Tested
SQL ServerText cleanup & matching

Normalize ASCII text to lowercase

SQL Server: LOWER is useful for display normalization; indexed case-insensitive search depends on the database collation and schema.

SQL Server✓ Tested
PostgresText cleanup & matching

Normalize ASCII text to lowercase

Postgres: LOWER is useful for display normalization; indexed case-insensitive search depends on the database collation and schema.

Postgres✓ Tested
SQLiteText cleanup & matching

Normalize ASCII text to lowercase

SQLite: LOWER is useful for display normalization; indexed case-insensitive search depends on the database collation and schema.

SQLite✓ 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