Tagged articles
11 articles
Page 1 of 1
JavaScript
JavaScript
Jun 6, 2025 · Frontend Development

Why slice() Beats substr() and substring() in Modern JavaScript

This article explains the three JavaScript string extraction methods—substr(), substring() and slice()—highlighting why slice() is now preferred, detailing deprecation reasons for substr(), comparing behavior, parameter handling, and consistency, and summarizing its advantages over the other methods.

JavaScriptSliceString Methods
0 likes · 4 min read
Why slice() Beats substr() and substring() in Modern JavaScript
JavaScript
JavaScript
Mar 17, 2025 · Frontend Development

10 Powerful JavaScript String Tricks to Boost Code Readability

This article presents ten practical JavaScript string handling techniques—from template literals and destructuring to modern methods like includes, startsWith, padStart, optional chaining, and string interpolation—each illustrated with concise code examples to improve readability, reduce boilerplate, and enhance maintainability.

Code ExamplesDestructuringJavaScript
0 likes · 4 min read
10 Powerful JavaScript String Tricks to Boost Code Readability
Python Programming Learning Circle
Python Programming Learning Circle
Sep 8, 2023 · Fundamentals

Python Basic Types and Common Operations

This article provides a comprehensive overview of Python's fundamental data types—including int, float, str, list, dict, set, and tuple—and details common operations, methods, built‑in functions, and file handling techniques essential for mastering basic Python programming.

PythonString Methodsbasics
0 likes · 19 min read
Python Basic Types and Common Operations
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 27, 2021 · Fundamentals

Master Pandas Text Manipulation: From Basics to Advanced String Operations

This guide walks you through handling textual data with pandas, covering basic and new string dtypes, essential string methods for formatting, alignment, counting, encoding, and advanced operations such as splitting, replacing, concatenating, matching, and extracting patterns, all illustrated with clear code examples.

PythonString Methodsdata analysis
0 likes · 13 min read
Master Pandas Text Manipulation: From Basics to Advanced String Operations
Python Programming Learning Circle
Python Programming Learning Circle
Apr 22, 2021 · Fundamentals

Common Built‑in String Methods in Python

This article introduces Python’s built‑in string class and explains ten commonly used string methods—including center, count, find, swapcase, startswith/endswith, split, case conversions, justification, strip, and zfill—detailing their syntax, parameters, and example usages while emphasizing that they return new strings without altering the original.

PythonString MethodsUnicode
0 likes · 9 min read
Common Built‑in String Methods in Python
Java High-Performance Architecture
Java High-Performance Architecture
Oct 1, 2018 · Backend Development

Unlock Java 11: Powerful New Features You Need to Know

This article introduces Java 11's most useful enhancements—including the var keyword, new String utilities, collection factory methods, Stream API additions, InputStream.transferTo, and the revamped HttpClient—showing how each feature simplifies code and improves productivity for modern Java developers.

CollectionsHttpClientInputStream
0 likes · 7 min read
Unlock Java 11: Powerful New Features You Need to Know
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 9, 2017 · Frontend Development

Master JavaScript Regex: String Methods and RegExp Object Explained

This article explains the two main aspects of using regular expressions in JavaScript—string methods such as search, replace, match, and split, and the RegExp object with its properties, constructor, and methods like exec, test, and compile, including practical tips and common pitfalls.

RegExpString Methodspattern-matching
0 likes · 6 min read
Master JavaScript Regex: String Methods and RegExp Object Explained
Aotu Lab
Aotu Lab
Dec 6, 2016 · Fundamentals

Master JavaScript Regular Expressions: From Basics to Advanced Patterns

This comprehensive guide explains what regular expressions are, their practical uses in data validation and string manipulation, the syntax of literals and constructors, key String and RegExp methods, character classes, quantifiers, anchors, groups, assertions, flags, and the behavior of JavaScript's NFA engine, all illustrated with clear code examples.

JavaScriptNFA EngineString Methods
0 likes · 15 min read
Master JavaScript Regular Expressions: From Basics to Advanced Patterns