PHP String Contains is a simple function I created. Quiet similar to strpos or strstr, but in my case, I have used this in most of my projects since its function name is more readable and understandable. I find it to be cleaner, also, as it is returning boolean instead of int. It works by… Continue reading PHP String Contains
Tag: string
PHP Combine Path
PHP Combine Path, roughly equivalent to .Net’s Path.Combine where this combines two strings as path, handling when to place separators between two strings.