php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "substring extraction"

Can you provide an example of using the strrpos function in PHP to find the position of the last occurrence of a word in a string?

When working with strings in PHP, you may need to find the position of the last occurrence of a specific word within a string. This can be achieved us...

What is the difference between using preg_split and explode in PHP for splitting a string?

When splitting a string in PHP, the main difference between preg_split and explode is that preg_split allows for more complex splitting patterns using...

What is the difference between using explode() and preg_split() in PHP for string manipulation?

When it comes to string manipulation in PHP, the main difference between explode() and preg_split() is that explode() splits a string by a specified d...

What are some common functions or methods in PHP that can be used to manipulate strings?

When working with strings in PHP, there are several built-in functions and methods that can be used to manipulate them. Some common functions include...

What are some common string manipulation functions in PHP that can be used to extract a portion of a string?

When working with strings in PHP, it is common to need to extract a portion of a string based on certain criteria such as a specific starting position...

Showing 1356 to 1360 of 1398 results

‹ 1 2 ... 269 270 271 272 273 274 275 ... 279 280 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • Privacy
  • FAQ

© 2025 php.org. All rights reserved.