Answers for "get integer before character php"

PHP
2

get the string after a character in php

$data = "123_String";    
$whatIWant = substr($data, strpos($data, "_") + 1);    
echo $whatIWant;
Posted by: Guest on April-27-2020
14

php get first character of string

$firstStringCharacter = substr("hello", 0, 1);
Posted by: Guest on October-19-2019

Code answers related to "get integer before character php"

Browse Popular Code Answers by Language