|
Home All Articles Contact Zawgyi Myanmar Font |
|
Home >> Snippet List >> Snippet Name Add a period at the end of a string if there isn't one there alreadyDescription Simple way to add a period at the end of a string or sentence if there isn't one there alreadyPHP Snippet // if there isn't a period at the end of $string, add one IF(SUBSTR($string, -1) != '.'){$string.= '.';} |
|
All photograph,logos, articles, comments and trademarks etc, in this site are property of their respective owners.All the rest (c) 2006 by PhpMyanmar.com. |