Results for “search”
Small, practical examples. Search by task or narrow things down below.
Find files by extension
Search a directory tree for regular files with a particular extension and print their paths.
find✓ Tested
Find text ignoring case
Use ordinal case-insensitive comparison for a C# substring search.
C#✓ Tested
Find the insertion position for a sorted value
C++: lower_bound returns the first position whose value is not less than the search key.
C++✓ Tested
Highlight a relevant phrase in context
HTML: Mark identifies text relevant to the current activity, such as a search match.
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
Select the immediately following sibling
jQuery: next does not search beyond the next sibling.
jQuery✓ Tested
Treat dynamic regex input as literal text
Java: Use Pattern.quote so metacharacters in a search term lose their special meaning.
Java✓ Tested