Tagged articles
String Processing
22 articles · Page 1 of 1
This article explores Google Guava's core utilities for Java developers, demonstrating how Joiner, Splitter, and CharMatcher simplify string handling, how Immutable collections provide true immutability versus JDK's unmodifiable views, and how Multimap, BiMap, and Table solve common collection gaps. It also covers primitive utilities, functional transforms with Functions and Predicate, null-safety via Preconditions and Optional, a self-maintaining local Cache, and ListenableFuture for cleaner async callbacks.
CachingGoogle GuavaImmutable
0 likes · 11 min read

This article explores SNOBOL, a 1962 string-processing language that pioneered first-class patterns, automatic garbage collection, a portable virtual machine, and associative arrays—features decades ahead of their time—yet lost to simpler regex-based tools like AWK and Perl.
Bell LabsSNOBOLString Processing
0 likes · 13 min read

This guide introduces PHP’s str_word_count() function, explains its syntax and parameters, and provides five practical code examples showing how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.
Code ExamplesPHPString Processing
0 likes · 4 min read

Manacher’s algorithm transforms the classic longest palindromic substring problem into a linear‑time solution by preprocessing the string with separators, tracking palindrome radii, and efficiently updating the center and right boundary using mirror positions, with detailed Python code and step‑by‑step illustrations.
Manacher algorithmPythonString Processing
0 likes · 12 min read

This article explains the PHP str_word_count() function, covering its syntax, parameter options, and providing multiple code examples that demonstrate counting words, retrieving word arrays, obtaining word positions, customizing ignored characters, and using regular expressions for word matching.
Code ExamplesPHPString Processing
0 likes · 5 min read

This article introduces Java regular expressions, covering basic syntax, character classes, logical operators, predefined tokens, quantifiers, practical code examples, common applications such as data validation, and performance optimization tips for effective string processing in Java.
JavaMatcherPattern
0 likes · 11 min read

This article explains PHP's str_word_count() function, detailing its syntax, parameters, and providing multiple code examples that demonstrate counting words, retrieving word arrays, obtaining word positions, customizing ignored characters, and using regular expressions for word extraction.
BackendPHPString Processing
0 likes · 5 min read

This article explains PHP's str_word_count() function, detailing its syntax, parameters, optional character list, and provides multiple code examples demonstrating how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.
String Processingbackend developmentstr_word_count
0 likes · 4 min read

This article explains how to use Python's re and string modules for common string tasks such as pattern searching, substitution, splitting, and character checks, providing clear explanations and ten practical code examples.
String Processingre-moduleregex
0 likes · 5 min read

This article explains the PHP str_word_count() function, detailing its syntax, parameters, and return formats, and provides multiple code examples demonstrating how to count words, retrieve word lists, obtain word positions, and customize ignored characters for string processing.
PHPString Processingbackend development
0 likes · 4 min read

This article explains the PHP str_word_count() function, its syntax, parameters, and provides multiple code examples showing how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.
BackendPHPString Processing
0 likes · 5 min read

This article explains PHP's regular expression functions—including preg_match, preg_match_all, preg_replace, and preg_split—detailing their syntax, parameters, and practical code examples, and also covers advanced regex metacharacters and special symbols for powerful string matching and manipulation.
PHPString Processingpreg_match
0 likes · 7 min read

This article walks through extracting six‑digit numeric codes from strings containing letters, numbers, and symbols using Python regular expressions and pandas, presenting multiple community‑sourced approaches, complete code examples, and visual explanations to help readers solve similar data extraction challenges.
Code TutorialPandasPython
0 likes · 5 min read

This article walks through a real‑world Python regex challenge of extracting exactly six consecutive digits from mixed alphanumeric strings, showcases successful and failed examples, shares multiple solution attempts from community experts, and offers practical advice for handling noisy data and avoiding false positives.
String ProcessingTutorialregex
0 likes · 4 min read

This article explains how Pandas' vectorized string operations enable efficient, loop‑free processing of text data, covering basic methods like len() and lower(), advanced regex functions, and additional utilities such as split, replace, slice, and get_dummies, with code examples and usage details.
String Processingdata cleaningvectorization
0 likes · 21 min read

This tutorial demonstrates how to use regular expressions and pandas string methods to extract numeric values from Series columns, calculate average years of experience, and convert salary strings into numeric monthly figures for further analysis.
PandasPythonString Processing
0 likes · 7 min read

This article explains the Unicode mapping between full‑width and half‑width characters, demonstrates simple Python functions for converting between them, and provides a flexible dictionary‑based approach for custom text conversion tasks.
Full-widthHalf-widthPython
0 likes · 9 min read

This article provides a comprehensive overview of Python's regular expression features, covering special characters, character classes, quantifiers, grouping, backreferences, assertions, conditional matching, flags, and the most commonly used methods of the re module with illustrative code examples.
PythonString Processingassertions
0 likes · 14 min read

This article explains several Java techniques—including a simple loop, String.split, and regular‑expression approaches—to compute the maximum number of consecutive '1' characters in a binary string, and even extends the method to handle mixed‑character inputs.
AlgorithmCode ExampleJava
0 likes · 6 min read

This tutorial presents thirty concise Python tasks—ranging from duplicate detection and anagram checking to list chunking, dictionary merging, and execution timing—each accompanied by clear explanations and ready‑to‑run code snippets, enabling beginners to solidify fundamental concepts through hands‑on practice.
AlgorithmPythonString Processing
0 likes · 14 min read

This article provides a comprehensive guide to Python’s re module, covering regex definitions, common methods, special character sets, pattern‑matching functions, match object attributes, and practical code examples for tasks such as validating phone numbers, IP addresses, and HTML snippets.
PythonString Processingpattern matching
0 likes · 13 min read

This article explains how to transform a non‑visible 0x03‑separated city string stored in a PostgreSQL table into a sorted array so that routes with the same set of cities can be grouped and counted efficiently.
PostgreSQLSQLString Processing
0 likes · 4 min read
