≡ Menu

string comparison

HowTo: PHP Compare Two Text Strings

How can I compare two strings using php? How do I use php to compare two strings?
[click to continue…]

Bash String Comparison: Find Out IF a Variable Contains a Substring

How do I determine whether a variable called spath=”/srv/www/cyberciti.biz/https” contains a substring called “cyberciti.biz”?
[click to continue…]