Tagged articles
30 articles
Page 1 of 1
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 20, 2025 · Fundamentals

7 Creative Ways to Clean Up Strings in a Python List

This article explores a Python list string‑replacement problem and demonstrates seven distinct solutions—including simple replace loops, set‑based approaches, regular expressions, and comprehension techniques—providing clear code examples and results for each method.

code-exampleslist-processingset-comprehension
0 likes · 8 min read
7 Creative Ways to Clean Up Strings in a Python List
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
php Courses
php Courses
Oct 22, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, shows its syntax, and provides three practical examples demonstrating simple replacement, multiple replacements using arrays, and character deletion, while also mentioning additional options and linking to the official documentation.

BackendTutorialstr_replace
0 likes · 4 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Oct 10, 2024 · Backend Development

Using PHP str_replace Function for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates how to replace or delete characters in strings through three practical code examples covering simple replacement, multiple replacements, and character removal.

BackendTutorialstr_replace
0 likes · 4 min read
Using PHP str_replace Function for String Replacement and Deletion
php Courses
php Courses
Sep 18, 2024 · Backend Development

Using str_replace() in PHP: Syntax, Parameters, and Examples

This article explains the PHP str_replace() function, covering its syntax, parameter details, return value, and provides three practical code examples—including single, multiple, and case‑insensitive replacements—to help developers master string manipulation in backend development.

BackendTutorialstr_replace
0 likes · 4 min read
Using str_replace() in PHP: Syntax, Parameters, and Examples
php Courses
php Courses
Aug 23, 2024 · Backend Development

Using PHP str_split to Split Strings into Character Arrays

This article explains how to use PHP's str_split function to divide a string into an array of characters, covering basic syntax, specifying element length, handling multibyte characters, and providing practical code examples with output demonstrations.

BackendPHPphp-tutorial
0 likes · 5 min read
Using PHP str_split to Split Strings into Character Arrays
php Courses
php Courses
Aug 2, 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, replacing multiple words with an array, and deleting characters—showing the resulting output and highlighting additional options available in the official documentation.

BackendPHPTutorial
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
Python Programming Learning Circle
Python Programming Learning Circle
Mar 9, 2024 · Fundamentals

Python String and List Operations with Practical Code Examples

This article presents a collection of Python fundamentals covering string reversal, palindrome detection, unique element extraction, element equality checks, list flattening, element unpacking, finding top‑N values, memory size inspection, and various file I/O techniques, all illustrated with ready‑to‑run code snippets.

code-examplesfundamentalslist manipulation
0 likes · 6 min read
Python String and List Operations with Practical Code Examples
php Courses
php Courses
Mar 6, 2024 · Backend Development

Using PHP trim() to Remove Whitespace and Specified Characters

This article explains the PHP trim() function, detailing its syntax, default behavior of removing whitespace, optional character mask usage, and provides clear code examples demonstrating both standard trimming and custom character removal, helping developers efficiently handle string preprocessing in backend development.

.trimphp-functionsstring-manipulation
0 likes · 3 min read
Using PHP trim() to Remove Whitespace and Specified Characters
php Courses
php Courses
Feb 19, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, showing its syntax and demonstrating how to replace single words, multiple words, or delete characters in strings through clear code examples and their outputs, helping developers efficiently manipulate text in backend applications.

Tutorialstr_replacestring-manipulation
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Jan 15, 2024 · Backend Development

PHP str_replace() Function: Basic and Advanced Usage

This article explains the PHP str_replace() function, covering its syntax, basic string replacement, handling multiple replacements with arrays, case‑insensitive alternatives, and how to retrieve the number of replacements performed.

Backendphp-tutorialstr_replace
0 likes · 5 min read
PHP str_replace() Function: Basic and Advanced Usage
php Courses
php Courses
Dec 28, 2023 · Backend Development

Using PHP explode() to Split Strings

This article explains PHP's explode() function, detailing its syntax, parameters, and usage through three examples that demonstrate splitting strings by spaces, commas, and limiting the number of resulting segments, while also mentioning related functions like implode and str_split.

BackendTutorialexplode
0 likes · 3 min read
Using PHP explode() to Split Strings
Python Programming Learning Circle
Python Programming Learning Circle
Nov 27, 2023 · Fundamentals

Six Practical Python Tricks: String Operations, List Comprehensions, Lambdas, Map, Conditional Expressions, and Zip

This article introduces six useful Python techniques—including string manipulation, list comprehensions, lambda functions, the map and zip utilities, and one‑line conditional expressions—showing concise code examples and explaining how each feature can simplify everyday programming tasks.

LambdaMAPPython
0 likes · 8 min read
Six Practical Python Tricks: String Operations, List Comprehensions, Lambdas, Map, Conditional Expressions, and Zip
php Courses
php Courses
Sep 15, 2023 · Backend Development

Understanding and Using the PHP rtrim() Function

This article explains the PHP rtrim() function, its syntax, optional character mask, and provides multiple code examples demonstrating how to remove trailing whitespace and specific characters, along with important usage notes and a concise summary.

php-tutorialrtrimstring-manipulation
0 likes · 5 min read
Understanding and Using the PHP rtrim() Function
php Courses
php Courses
Aug 29, 2023 · Backend Development

Using PHP strspn() Function for String Length Measurement and Filtering

This article explains PHP's strspn() function, detailing its syntax, parameters, return values, and demonstrates three practical examples for measuring consecutive character length, checking character set inclusion, and filtering strings, helping developers handle string processing more flexibly.

Tutorialphp-functionsstring-manipulation
0 likes · 5 min read
Using PHP strspn() Function for String Length Measurement and Filtering
php Courses
php Courses
Aug 23, 2023 · Backend Development

Using PHP substr_replace() to Replace or Insert Substrings

This article explains the PHP substr_replace() function, its syntax, parameters, and demonstrates how to replace characters, replace substrings, and insert strings at the beginning, end, or middle of a string using practical code examples.

Tutorialstring-manipulationsubstr_replace
0 likes · 4 min read
Using PHP substr_replace() to Replace or Insert Substrings
php Courses
php Courses
Jul 13, 2023 · Backend Development

How to Delete a Substring in PHP Using Various Functions

This article explains four PHP techniques—str_replace, substr_replace, ereg_replace, and preg_replace—for removing specific characters or patterns from a string, providing code examples and describing the resulting output for each method.

preg_replacestr_replacestring-manipulation
0 likes · 5 min read
How to Delete a Substring in PHP Using Various Functions
Laravel Tech Community
Laravel Tech Community
Sep 5, 2020 · Backend Development

Using PHP chunk_split() to Split Strings into Fixed‑Size Chunks

This article explains PHP's chunk_split() function, detailing its purpose of dividing a string into fixed-size pieces, describing its parameters (body, chunklen, end), return value, and providing a practical example that formats base64‑encoded data according to RFC 2045.

BackendBase64chunk_split
0 likes · 2 min read
Using PHP chunk_split() to Split Strings into Fixed‑Size Chunks
Laravel Tech Community
Laravel Tech Community
Aug 29, 2020 · Backend Development

PHP rtrim() Function: Removing Trailing Characters

This article explains the PHP rtrim() function, describing how it removes trailing whitespace or specified characters from a string, detailing its parameters and return value, and providing multiple code examples that demonstrate typical usage and edge‑case handling.

BackendTutorialrtrim
0 likes · 3 min read
PHP rtrim() Function: Removing Trailing Characters
Laravel Tech Community
Laravel Tech Community
Aug 20, 2020 · Backend Development

Using mb_strcut() to Extract Substrings by Bytes in PHP

This article explains how the PHP mb_strcut() function extracts a substring based on byte positions, compares it with mb_substr() and substr(), details its parameters and return value, and provides a complete example demonstrating byte‑level string cutting for multibyte text.

Backendmb_strcutstring-manipulation
0 likes · 3 min read
Using mb_strcut() to Extract Substrings by Bytes in PHP
Laravel Tech Community
Laravel Tech Community
Aug 18, 2020 · Backend Development

PHP substr() Function: Usage, Parameters, and Examples

This article explains PHP's substr() function, detailing its signature, parameter meanings, behavior with positive and negative start and length values, edge cases, and provides multiple code examples demonstrating how to extract substrings under various conditions.

Backendphp-functionsstring-manipulation
0 likes · 5 min read
PHP substr() Function: Usage, Parameters, and Examples
Laravel Tech Community
Laravel Tech Community
Aug 8, 2020 · Backend Development

PHP strtr() Function: Usage, Parameters, and Examples

This article explains the PHP strtr() function, detailing its two signatures for character and substring replacement, describing parameter behavior, return values, and special cases, and provides multiple code examples that illustrate how to apply the function in real-world scenarios.

BackendTutorialphp-functions
0 likes · 2 min read
PHP strtr() Function: Usage, Parameters, and Examples
Laravel Tech Community
Laravel Tech Community
Jun 6, 2020 · Backend Development

Using PHP chunk_split() to Split Strings into Chunks

This article explains the PHP chunk_split() function, its syntax, parameters, return value, and provides two practical code examples that demonstrate how to split strings into fixed‑size chunks with custom end characters.

chunk_splitphp-functionsstring-manipulation
0 likes · 2 min read
Using PHP chunk_split() to Split Strings into Chunks
Laravel Tech Community
Laravel Tech Community
Jun 5, 2020 · Backend Development

Using PHP trim() to Remove Whitespace and Specified Characters

This article explains PHP's trim() function, its parameters and default character list, and provides multiple code examples showing how to trim strings, binary data, and array elements, including custom functions and array_walk usage, with the resulting outputs displayed.

.trimdata cleaningphp-functions
0 likes · 3 min read
Using PHP trim() to Remove Whitespace and Specified Characters