Tagged articles

string parsing

11 articles · Page 1 of 1
FunTester
FunTester
Apr 24, 2025 · Fundamentals

How to Validate Numeric Strings in Java: Multiple Approaches Explained

This article compares five Java techniques for checking whether a string represents a valid number—including manual character iteration, Integer.parseInt/Double.parseDouble, BigDecimal, regular expressions, and Apache Commons NumberUtils—showing code samples, test cases, and the pros and cons of each method.

Apache CommonsBigDecimalNumber Validation
0 likes · 16 min read
How to Validate Numeric Strings in Java: Multiple Approaches Explained
Nullbody Notes
Nullbody Notes
Nov 22, 2023 · Fundamentals

How to Compare Version Numbers in Go – Interview Solution

This article explains the key steps for comparing dot‑separated version strings—ignoring leading zeros, handling different lengths, and performing left‑to‑right numeric comparison—accompanied by a complete Go implementation.

AlgorithmGostring parsing
0 likes · 3 min read
How to Compare Version Numbers in Go – Interview Solution
Programmer DD
Programmer DD
Sep 8, 2021 · Fundamentals

Parse 16‑Digit Timestamps Up to 700× Faster Than std::stringstream

This article explores why standard string‑to‑integer conversions become performance bottlenecks in high‑concurrency scenarios and presents a series of increasingly optimized C++ solutions—from native library calls to loop‑unrolled, byteswap, divide‑and‑conquer, and SIMD tricks—demonstrating dramatic speed gains backed by Google Benchmark results.

C++SIMDbyteswap
0 likes · 16 min read
Parse 16‑Digit Timestamps Up to 700× Faster Than std::stringstream
php Courses
php Courses
Apr 20, 2021 · Backend Development

Understanding PHP parse_str() Function and Its Usage

This article explains PHP's parse_str() function, detailing its syntax, parameters, and return behavior, and provides two practical examples—one with the optional result array and another using the deprecated single‑parameter form—illustrating how to convert query strings into variables.

backendparse_strstring parsing
0 likes · 3 min read
Understanding PHP parse_str() Function and Its Usage
Python Crawling & Data Mining
Python Crawling & Data Mining
Jan 12, 2021 · Fundamentals

Master Python’s parse Library: Simplify String Extraction Without Regex

Learn how to replace complex regular expressions with the Python parse library, covering installation, real-world examples, pattern reuse, type conversion, whitespace handling, case sensitivity, character limits, and custom converters, while showcasing code snippets and practical tips for efficient string parsing.

Parseregex-alternativestring parsing
0 likes · 10 min read
Master Python’s parse Library: Simplify String Extraction Without Regex
Laravel Tech Community
Laravel Tech Community
Aug 3, 2020 · Backend Development

PHP parse_str Function: Usage, Parameters, and Examples

This article explains PHP's parse_str() function, detailing its purpose of converting query strings into variables, describing its parameters and void return, and providing clear code examples demonstrating both basic usage and usage with an output array.

backendparse_strquery string
0 likes · 2 min read
PHP parse_str Function: Usage, Parameters, and Examples
Tech Musings
Tech Musings
May 18, 2020 · Fundamentals

Master Multi‑Round Interview Coding: Parsing, Concurrency, and Matrix Multiplication

This article walks through three typical interview coding rounds—implementing a robust string‑to‑int parser, designing a high‑concurrency trace‑storage API, and building a matrix multiplication routine with performance and sparse‑matrix optimizations—providing code examples, corner‑case handling, and improvement ideas.

Matrix multiplicationalgorithm optimizationcoding interview
0 likes · 7 min read
Master Multi‑Round Interview Coding: Parsing, Concurrency, and Matrix Multiplication