Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

explode last element php

$string = 'abc-123-xyz-789';
$exploded = explode('-', $string);
echo end($exploded);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #explode #element #php
ADD COMMENT
Topic
Name
9+9 =