Results for “Transforming text”
Small, practical examples. Search by task or narrow things down below.
Measure the length of ordinary text
SQL: Use the engine’s text-length function; this ASCII example has no trailing spaces.
SQL✓ Tested
Measure the length of ordinary text
SQL Server: Use the engine’s text-length function; this ASCII example has no trailing spaces.
SQL Server✓ Tested
Measure the length of ordinary text
Postgres: Use the engine’s text-length function; this ASCII example has no trailing spaces.
Postgres✓ Tested
Measure the length of ordinary text
SQLite: Use the engine’s text-length function; this ASCII example has no trailing spaces.
SQLite✓ Tested
Mirror input text
Update a result as the user types using a jQuery input event.
jQuery✓ Tested
Name a meaningful image with alternative text
HTML: Alt supplies an accessible text alternative describing the image’s purpose.
HTML✓ Tested
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
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
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
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
Normalize ASCII text to uppercase
SQL: UPPER changes character case under the database’s text rules.
SQL✓ Tested
Normalize ASCII text to uppercase
SQL Server: UPPER changes character case under the database’s text rules.
SQL Server✓ Tested