Tagged articles
String handling
19 articles · Page 1 of 1
This guide explains how to use PHP’s mb_strlen function to accurately measure the length of multibyte strings, covering installation of the mbstring extension, syntax, optional encoding, practical code examples, and common validation scenarios for robust backend development.
PHPString handlingmb_strlen
0 likes · 5 min read

This article explains how PHP's built‑in ord() function returns the ASCII code of a string's first character, details its syntax and parameters, shows multiple usage examples—including loops and handling of multibyte characters—and highlights important limitations and alternatives.
PHPString handlingascii
0 likes · 4 min read

This article explores advanced PHP string handling methods—including array_unique, regular expressions, custom functions, large‑file streaming, and multibyte support—to efficiently remove duplicates, preserve specific repeats, and boost performance in real‑world backend applications.
String handlingduplicate removalregex
0 likes · 5 min read

This article explains the differences between Apache Commons StringUtils methods such as isEmpty, isBlank, and their extended variants, provides practical code examples for each, and guides developers on choosing the appropriate utility for handling null, empty, or whitespace strings in Java.
Apache CommonsString handlingStringUtils
0 likes · 7 min read

This article explains the differences and usage of Apache Commons Lang3 StringUtils methods such as isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank, providing code examples and behavioral details for handling null, empty, and whitespace strings in Java.
Apache CommonsJavaString handling
0 likes · 6 min read

This article walks through the most commonly used Google Guava packages, demonstrating how to handle strings, collections, primitives, I/O, and various utility classes with concise code snippets and practical tips to boost Java development productivity.
ConcurrencyGoogle GuavaGuava utilities
0 likes · 18 min read

This article explains PHP's strpos() function, covering its syntax and demonstrating how to locate characters, substrings, and use an offset through clear code examples, enabling developers to efficiently perform string position searches.
PHPString handlingbackend development
0 likes · 5 min read

This article introduces the Apache Commons Lang StringUtils class, demonstrating how its isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank methods work with practical code examples and explains their behavior for different input scenarios.
Apache CommonsJavaString handling
0 likes · 7 min read

This article provides a comprehensive overview of PHP string handling, covering definition, basic operations, common functions, and advanced techniques such as regular expressions, formatting, and multilingual support, with code examples to illustrate each concept.
String handlingTutorialprogramming
0 likes · 4 min read

The article explains PHP's htmlspecialchars_decode() function, detailing its syntax, parameters, example code for converting HTML entities back to characters, and important usage considerations such as flags and encoding options for developers in web development.
HTML entitiesPHPString handling
0 likes · 5 min read

This article explains the PHP html_entity_decode() function, covering its syntax, parameters, return value, practical usage examples, and important considerations for correctly converting HTML entities back to their original characters in web applications.
PHPString handlinghtml_entity_decode
0 likes · 5 min read

This article explains PHP's implode() function, covering its syntax, basic usage, and practical examples such as creating comma‑separated strings, building SQL IN clauses, and generating HTML lists, while providing clear code snippets for each scenario.
Code ExamplesString handlingarray
0 likes · 5 min read

This article explains the behavior and differences of Apache Commons Lang StringUtils methods such as isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank, providing usage examples, return values, and source code snippets for each method.
Apache Commons LangJavaString handling
0 likes · 6 min read

A Python community member struggled with a regular expression that mishandled backslashes, but by converting the pattern to a raw string with an r prefix, the issue was resolved and the regex matched correctly, illustrating a common pitfall and its simple fix.
DebuggingPythonRaw String
0 likes · 3 min read

This tutorial walks through extending a C‑based Lisp interpreter with string support, comment parsing, built‑in print and error commands, file loading capabilities, providing complete code examples and explanations for each feature in the interpreter.
C++Lisp interpreterParser
0 likes · 10 min read

This article explains the various Apache Commons Lang StringUtils methods such as isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank, providing usage examples, code snippets, and detailed behavior for handling null, empty, and whitespace strings in Java.
Apache Commons LangJavaString handling
0 likes · 7 min read

This article provides a comprehensive overview of Apache Commons Lang's StringUtils class, explaining the behavior of isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank methods with code examples and a summary of additional useful utilities.
Apache Commons LangJavaString handling
0 likes · 8 min read

This article explains the Apache Commons Lang StringUtils utility class, detailing the behavior of isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank methods with examples and source code, helping Java developers choose the right check for null, empty, or whitespace strings.
Apache CommonsBlank CheckEmpty Check
0 likes · 8 min read

This article demonstrates how Java 17's Text Blocks feature lets developers create readable multiline HTML strings without cumbersome concatenation or escape sequences, improving code clarity and reducing errors.
Java 17Multiline StringsProgramming Tutorial
0 likes · 4 min read
