Tag

replace

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Mar 4, 2025 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates simple replacement, multiple replacements, and character deletion through clear code examples, helping developers efficiently manipulate strings in backend applications.

PHPbackendphp-functions
0 likes · 5 min read
Using PHP str_replace for String Replacement and Deletion
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 10, 2025 · Backend Development

Java String Tricks: replace vs replaceAll, Integer Caching, BigDecimal Precision

This article explains the differences between replace and replaceAll, how Integer caching affects equality checks, why constructing BigDecimal with double can cause precision loss, the nuances of string concatenation, the distinction between isEmpty and isBlank, when to check for null in MyBatis mapper results, and the correct way to use indexOf in Java.

BigDecimalIntegerJava
0 likes · 13 min read
Java String Tricks: replace vs replaceAll, Integer Caching, BigDecimal Precision
php中文网 Courses
php中文网 Courses
Dec 10, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates three practical examples—simple replacement, multiple replacements using an array, and character deletion—showing how to efficiently manipulate strings in backend development.

Code ExamplePHPreplace
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 5, 2023 · Databases

Analyzing INSERT/REPLACE‑Induced Deadlocks in MySQL InnoDB and Prevention Strategies

This article examines how INSERT, REPLACE and INSERT … ON DUPLICATE KEY UPDATE statements can cause deadlocks in MySQL InnoDB under various scenarios, explains the underlying lock types such as GAP, NEXT‑KEY and INSERT‑INTENTION locks, and offers practical recommendations to avoid them.

INSERTInnoDBLock
0 likes · 16 min read
Analyzing INSERT/REPLACE‑Induced Deadlocks in MySQL InnoDB and Prevention Strategies
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 31, 2023 · Databases

Useful MySQL Functions and SQL Techniques for Data Manipulation

This article presents a collection of practical MySQL functions and SQL commands—including GROUP_CONCAT, CHAR_LENGTH, LOCATE, REPLACE, NOW, INSERT…SELECT, INSERT…IGNORE, SELECT FOR UPDATE, ON DUPLICATE KEY UPDATE, SHOW CREATE TABLE, CREATE TABLE … SELECT, EXPLAIN, SHOW PROCESSLIST, and mysqldump—explaining their purposes, usage patterns, and providing concrete example queries with results.

Database AdministrationGROUP_CONCATMySQL
0 likes · 13 min read
Useful MySQL Functions and SQL Techniques for Data Manipulation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 7, 2020 · Databases

Four Common MySQL Insert Statements and Their Usage

This article explains the four frequently used MySQL data‑insertion statements—INSERT, INSERT SELECT, REPLACE INTO, and INSERT … ON DUPLICATE KEY UPDATE—detailing their syntax, options, behavior, and performance considerations for reliable database operations.

INSERTMySQLON DUPLICATE KEY UPDATE
0 likes · 7 min read
Four Common MySQL Insert Statements and Their Usage