Method 1 – Using substr_replace function. You can use the PHP substr_replace() function to remove the last character from a string in PHP.
確定! 回上一頁