FIND YOUR NEXT FEW LINES

Results for “Text semantics”

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

432 snippets foundClear filters
SQLText cleanup & matching

Remove surrounding spaces from text

SQL: TRIM removes leading and trailing space characters by default.

SQL✓ Tested
SQL ServerText cleanup & matching

Remove surrounding spaces from text

SQL Server: TRIM removes leading and trailing space characters by default.

SQL Server✓ Tested
PostgresText cleanup & matching

Remove surrounding spaces from text

Postgres: TRIM removes leading and trailing space characters by default.

Postgres✓ Tested
SQLiteText cleanup & matching

Remove surrounding spaces from text

SQLite: TRIM removes leading and trailing space characters by default.

SQLite✓ Tested
ReactAccessibility & events

Render untrusted-looking input as literal text

Render untrusted-looking input as literal text with a small React component and explicit browser behavior.

React✓ Tested
JavaScriptRegular expressions & URL encoding

Reorder captured text in a replacement

JavaScript: Use numbered replacement groups to rearrange a known two-part name.

JavaScript✓ Tested
TypeScriptRegular expressions & URL encoding

Reorder captured text in a replacement

TypeScript: Use numbered replacement groups to rearrange a known two-part name.

TypeScript✓ Tested
JavaText validation & formatting

Repeat text a fixed number of times

Java: Use String.repeat with a nonnegative repetition count.

Java✓ Tested
PowerShellGetting Started

Replace a literal word in text

PowerShell: Replace a literal word in text using PowerShell 7.

PowerShell✓ Tested
Bash ScriptsFiles & reliability

Replace a text file with an atomic rename

Prepare new content beside the target before renaming it into place.

atomic write✓ Tested
PostgresWindows & text

Replace all matching text

Normalize repeated whitespace with a regular expression.

regexp_replace✓ Tested
C#Strings

Replace literal text

Replace every literal occurrence in a C# string.

C#✓ Tested