Answers for "get the next char java"

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
6

get first character of string java

var string = "freeCodecamp";

string.charAt(0); // Returns "f"
Posted by: Guest on December-14-2019
2

java get first char

char fourth = "Banana".charAt(3);
Posted by: Guest on May-14-2020

Browse Popular Code Answers by Language