Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
3 answers
165 views

Filter out strings that are short or that are outside the alphabet of a language

I wrote this function to remove from the array those words that are less than n values. More precisely, I updated my old function and added some functionality. Since I am a beginner in this ...
Andreas Hunter's user avatar
0 votes
1 answer
80 views

Interchange all occurrences of a character and its predecessor

Given a string like "abcdbcfbc" , I want all the occurrences of 'b' to be interchanged with their previous character. The output should be: ...
JiteshPubreja's user avatar
3 votes
1 answer
173 views

Convert accented character to user name

I am using the below function for converting the accented character to a standard ASCII user name. ...
Hitesh's user avatar
  • 131
4 votes
1 answer
85 views

Data-checking class supporting letters

I'm starting to learn OOP with PHP, and all I've learned so far is just by searching and reading. So I have this need to check input data for certain things like min of chars, max of chars, spaced or ...
Victor Tello's user avatar
3 votes
2 answers
139 views

Create nice url with diactrics removal

Please review my class. It uses iconv() (it's probably not the best solution however I haven't found any better alternative to change unknown characters). ...
Marcin Nabiałek's user avatar
4 votes
1 answer
921 views

Unicode parsing in PHP

Firstly, apologies if this is not the correct type of question for here, I had it on the stackoverflow but it was closed with a suggestion I post here. I’m in the process of converting from Latin 15 ...
kevins's user avatar
  • 41