Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
java
c
c#
cpp
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
dart
ruby
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
swift-string
c-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
c-array
swift-array
cobol
typescript-string
php-array
javascript-array
vbnet
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
cpp-matrix
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
represent-boolean-true-false
different-functions-check-number-power-of-2
get-last-word-string
remove-last-word-string
calculate-surface-area-cuboid
Disclosure:
My content contains affiliate links.
Recent questions tagged PHP-STRING
40,701
questions
53,052
answers
573
users
Recent questions tagged PHP-STRING
1
answer
26
views
How to get the word before the last word from a string (edge‑case‑safe) in PHP
asked
Mar 28
by
avibootz
php
php-string
php-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
1
answer
31
views
How to find the longest word in a string with PHP
asked
Mar 3
by
avibootz
php
php-string
php-longest-word-in-string
longest-word-in-string
1
answer
75
views
How to get all the substrings with exactly k distinct characters from a given string in PHP
asked
Nov 14, 2025
by
avibootz
php
php-substring
php-string
substrings-with-k-distinct-characters
1
answer
67
views
How to count words in a string with punctuation in PHP
asked
Nov 2, 2025
by
avibootz
php
php-string
2
answers
98
views
How to check whether a string can be segmented into a sequence of words from a dictionary in PHP
asked
Sep 28, 2025
by
avibootz
php
php-string
1
answer
75
views
How to reverse a word in a string with PHP
asked
Sep 26, 2025
by
avibootz
php
php-string
php-reverse
1
answer
74
views
How to reverse each word in a string with PHP
asked
Sep 24, 2025
by
avibootz
php
php-string
php-reverse
1
answer
65
views
How to check if two given words are present in a string in PHP
asked
Sep 12, 2025
by
avibootz
php
php-string
1
answer
76
views
How to extract a float from a string in PHP
asked
Jul 29, 2025
by
avibootz
php
php-string
php-extract
1
answer
89
views
How to create a string with a repeated character N times in PHP
asked
Jul 28, 2025
by
avibootz
php
php-string
1
answer
91
views
How to split a string with multiple separators in PHP
asked
Jul 21, 2025
by
avibootz
php
php-string
1
answer
79
views
How to convert binary string to integer in PHP
asked
Jul 18, 2025
by
avibootz
php
php-string
php-binary
1
answer
87
views
How to check if a string includes $sometext$ without numbers in PHP
asked
Jul 11, 2025
by
avibootz
php
php-string
3
answers
147
views
How to remove the letters from word1 if they do not exist in word2 with PHP
asked
Jul 10, 2025
by
avibootz
php
php-string
1
answer
77
views
How to remove the letters from word1 if they exist in word2 with PHP
asked
Jul 9, 2025
by
avibootz
php
php-string
1
answer
105
views
How to get intersection of two strings in PHP
asked
Jul 6, 2025
by
avibootz
php
php-string
php-intersection
1
answer
89
views
How to pad a string on both sides in PHP
asked
Jul 6, 2025
by
avibootz
php
php-string
1
answer
76
views
How to pad a string on the left in PHP
asked
Jul 4, 2025
by
avibootz
php
php-string
1
answer
105
views
How to convert a string with either, or . as decimal/thousand separators into a float in PHP
asked
Jun 27, 2025
by
avibootz
php
php-string
php-convert
1
answer
83
views
How to remove string trailing path separator in PHP
asked
Jun 16, 2025
by
avibootz
php
php-string
1
answer
86
views
How to remove the trailing slashes from a string in PHP
asked
Jun 14, 2025
by
avibootz
php
php-string
1
answer
96
views
How to remove all non-ASCII characters from a string in PHP
asked
Jun 13, 2025
by
avibootz
php
php-string
php-ascii
1
answer
96
views
How to check if a string is blank (empty, null, or contains only whitespace) in PHP
asked
Jun 7, 2025
by
avibootz
php
php-string
1
answer
202
views
How to move the digits of a string with digits and letters to the beginning of the string in PHP
asked
May 27, 2025
by
avibootz
php
php-string
1
answer
162
views
How to sort a string with digits and letters (digits before letters) in PHP
asked
May 27, 2025
by
avibootz
php
php-sort
php-string
1
answer
160
views
How to sort a string with digits and letters (letters before digits) in PHP
asked
May 26, 2025
by
avibootz
php
php-string
php-sort
3
answers
264
views
How to combine a string with a dynamic double-quoted substring in PHP
asked
May 12, 2025
by
avibootz
php
php-string
php-substring
1
answer
167
views
How to find all double quote substrings in a string with PHP
asked
May 12, 2025
by
avibootz
php
php-string
php-substring
php-regex
1
answer
150
views
How to declare a string with double quote substrings in PHP
asked
May 12, 2025
by
avibootz
php
php-string
php-substring
1
answer
105
views
How to remove a random word from a string in PHP
asked
May 5, 2025
by
avibootz
php
php-string
1
answer
174
views
How to convert a URL inside a string to a hyperlink in PHP
asked
May 2, 2025
by
avibootz
php
php-string
1
answer
165
views
How to get N characters from the middle of a string in PHP
asked
Apr 20, 2025
by
avibootz
php
php-string
3
answers
210
views
How to validate a string in PHP
asked
Apr 13, 2025
by
avibootz
php
php-string
php-regex
1
answer
186
views
How to replace multiple spaces in a string with a single space between words in PHP
asked
Apr 4, 2025
by
avibootz
php
php-string
php-regex
2
answers
117
views
How to check if a string starts with a substring from an array of substrings in PHP
asked
Apr 3, 2025
by
avibootz
php
php-string
1
answer
134
views
How to split a string into chunks of two characters each in PHP
asked
Mar 30, 2025
by
avibootz
php
php-string
1
answer
117
views
How to match words in a string that are wrapped in curly brackets using RegEx with PHP
asked
Mar 17, 2025
by
avibootz
php
php-string
1
answer
127
views
How to remove all occurrences of word from a string in PHP
asked
Oct 13, 2024
by
avibootz
php
php-string
1
answer
146
views
How to remove N characters from the middle of a string in PHP
asked
Sep 11, 2024
by
avibootz
php
php-string
1
answer
143
views
How to sum two binary strings in PHP
asked
May 7, 2024
by
avibootz
php
php-string
1
answer
199
views
How to get the length of the last word in a string with PHP
asked
May 4, 2024
by
avibootz
php
php-string
2
answers
142
views
How to remove a given word from a string in PHP
asked
Nov 19, 2022
by
avibootz
php
php-string
php-remove
1
answer
348
views
How to count the number of words in a string with PHP
asked
Aug 14, 2021
by
avibootz
php
php-string
1
answer
248
views
How to find the longest common string prefix in array of strings in PHP
asked
Mar 4, 2021
by
avibootz
php
php-string
3
answers
235
views
How to remove the last word from a string in PHP
asked
Nov 27, 2020
by
avibootz
php
php-string
php-remove-last-word-string
remove-last-word-string
1
answer
256
views
How to remove stop words from a string in PHP
asked
Oct 13, 2020
by
avibootz
php
php-string
5
answers
333
views
How to get the last word from a string in PHP
asked
Sep 6, 2019
by
avibootz
php
php-string
php-get-last-word-string
get-last-word-string
1
answer
253
views
How to find the first non-repeated character in a string with PHP
asked
Feb 26, 2019
by
avibootz
php
php-string
2
answers
264
views
How to remove (delete) specific word from a string in PHP
asked
Nov 17, 2017
by
avibootz
php
php-string
php-remove
2
answers
361
views
How to remove duplicate words from a string in PHP
asked
Nov 16, 2017
by
avibootz
php
php-string
php-remove
php-duplicate
To see more, click for the
full list of questions
or
popular tags
.
...