Tagged articles
12 articles
Page 1 of 1
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.

Stringphp-functionsreplace
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.

BigDecimalSpring BootString
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
ITPUB
ITPUB
Dec 24, 2022 · Databases

Master MySQL: 13 Essential Functions and Commands Every Developer Should Know

This guide walks you through 13 practical MySQL techniques—from aggregating values with GROUP_CONCAT and measuring string length with CHAR_LENGTH, to locating substrings, replacing text, retrieving timestamps, bulk inserting data, handling duplicate keys, inspecting table structures, and using diagnostic commands like EXPLAIN and SHOW PROCESSLIST—complete with ready‑to‑run SQL examples and visual results.

GROUP_CONCATInsertNOW
0 likes · 13 min read
Master MySQL: 13 Essential Functions and Commands Every Developer Should Know
Su San Talks Tech
Su San Talks Tech
Feb 14, 2021 · Fundamentals

7 Common Java String Pitfalls and How to Avoid Them

This article walks through frequent Java string‑related mistakes—including misuse of replace vs replaceAll, Integer equality pitfalls, BigDecimal precision issues, StringBuilder versus String, isEmpty vs isBlank, MyBatis mapper null checks, and indexOf logic—providing clear explanations, code examples, and best‑practice recommendations.

BigDecimalCode reviewMyBatis
0 likes · 13 min read
7 Common Java String Pitfalls and How to Avoid Them
FunTester
FunTester
Sep 8, 2020 · Fundamentals

Mastering Java String Whitespace: trim, strip, replace and More

This article explains the various Java string methods for removing leading and trailing whitespace—including trim, strip, stripLeading, stripTrailing, replace, replaceAll, and replaceFirst—showing their differences, Unicode handling, and practical code examples.

.trimJavaString
0 likes · 8 min read
Mastering Java String Whitespace: trim, strip, replace and More
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.

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