Built From Developers For Developers
» Kuikie.com » Snippets » PHP » Strings
  Categories
  PHP
    Arrays
    Date & Time
    Files & Directories
    Globalization
    Images
    OOP
    Other
    Strings
    User Interface
 

PHP - Strings

In this section you will find custom, fully tested, copy and paste ready snippets for you programming needs.

PHP. Function to Convert Multibyte String to Array (mb_str_to_array)

Published 6 yearss ago in » PHP » Strings
PHP is notorious for its lack of awareness for Unicode strings. Because of this working with...more

PHP. How to Check If String Contains Only Specific Characters

Published 6 yearss ago in » PHP » Strings
The following function checks if a string contains only specified characters. The allowed characters are passed...more

PHP. Retrieve the Part of the String Left From Specified Substring

Published 6 yearss ago in » PHP » Strings
This PHP snippet shows how to find the first occurrence of a substring in string and...more

PHP. Retrieve the Part of the String Right From Specified Substring

Published 6 yearss ago in » PHP » Strings
This PHP snippet shows how to find the first occurrence of a substring in string and...more

PHP. Function to convert BBCode to HTML

Published 6 yearss ago in » PHP » Strings
Working with BBCode is a everyday job for PHP developers. BBCode is convenient as it allows regular...more

PHP. Check if String is in UTF-8 Encoding

Published 6 yearss ago in » PHP » Strings
Many times you need to see if a string is UTF-8 encoded in order to...more

PHP. Array to CSV

Published 5 yearss ago in » PHP » Strings
Comma Separated Values (CSV) files are largely used throughout the IT industry to store, transfer or...more

PHP. Remove Empty Elements from Array

Published 4 yearss ago in » PHP » Strings
Recently had an array serialized into a string separated with ; which had to be brought back to array. The...more
 
©2012 Sinevia Ltd Terms of Use         Privacy Policy Valid XHTML 1.0 Transitional