get the string after a character in php
$data = "123_String";
$whatIWant = substr($data, strpos($data, "_") + 1);
echo $whatIWant;
get the string after a character in php
$data = "123_String";
$whatIWant = substr($data, strpos($data, "_") + 1);
echo $whatIWant;
php remove last character from string
$hell = substr('hello', 0, -1);
php get string before character
$arr = explode("/", $string, 2);
$first = $arr[0];
javascript get first character of string
var str="Hello Folks!"
var firstStringChar = str.charAt(0); //H
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us