FIND YOUR NEXT FEW LINES

Results for “Text validation & encoding”

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

545 snippets foundClear filters
SQLGetting Started

Match a text prefix

SQL: Use a percent wildcard after a known prefix.

SQL✓ Tested
SQL ServerGetting Started

Match a text prefix

SQL Server: Use a percent wildcard after a known prefix.

SQL Server✓ Tested
PostgresGetting Started

Match a text prefix

Postgres: Use a percent wildcard after a known prefix.

Postgres✓ Tested
SQLiteGetting Started

Match a text prefix

SQLite: Use a percent wildcard after a known prefix.

SQLite✓ Tested
PythonGetting Started

Measure a short text value

Python: Read the length of an ASCII string. Non-ASCII text may use multiple code units or bytes depending on the language.

Python✓ Tested
C#Getting Started

Measure a short text value

C#: Read the length of an ASCII string. Non-ASCII text may use multiple code units or bytes depending on the language.

C#✓ Tested
JavaGetting Started

Measure a short text value

Java: Read the length of an ASCII string. Non-ASCII text may use multiple code units or bytes depending on the language.

Java✓ Tested
JavaScriptGetting Started

Measure a short text value

JavaScript: Read the length of an ASCII string. Non-ASCII text may use multiple code units or bytes depending on the language.

JavaScript✓ Tested
TypeScriptGetting Started

Measure a short text value

TypeScript: Read the length of an ASCII string. Non-ASCII text may use multiple code units or bytes depending on the language.

TypeScript✓ Tested
C++Getting Started

Measure a short text value

C++: Read the length of an ASCII string. Non-ASCII text may use multiple code units or bytes depending on the language.

C++✓ Tested
CGetting Started

Measure a short text value

C: Read the length of an ASCII string. Non-ASCII text may use multiple code units or bytes depending on the language.

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