Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

eliminar ultimo caracter string php

$mystring = 'number 1, number 2, number 3,';
$myString = substr($myString, 0, -1);
echo $myString;  // 'number 1, number 2, number 3'
Source by www.etnassoft.com #
 
PREVIOUS NEXT
Tagged: #eliminar #ultimo #caracter #string #php
ADD COMMENT
Topic
Name
7+9 =