首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > PHP >

PHP函数详细辨析之rtrim函数 By ACReaper

2013-09-12 
PHP函数详细剖析之rtrim函数 By ACReaper?php// Example 1:rtrim(This is a short short sentence, sh

PHP函数详细剖析之rtrim函数 By ACReaper

<?php // Example 1: rtrim('This is a short short sentence', 'short sentence'); // returns 'This is a' // If you were expecting the result to be 'This is a short ', // then you're wrong; the exact string, 'short sentence', // isn't matched. Remember, character-by-character comparison! // Example 2: rtrim('This is a short short sentence', 'cents'); // returns 'This is a short short '?>
2013 09 11

By ACReaper

热点排行