Hello, Can anyone provide me with a function which can do the job of getting the character at a certain index in PHP.(As is done by charAt(int i)function in java. Thanks,
Penmart
$string = "blahblah";
$char_at_5 = $string[5];
Simple as that.. you dont need a function for that.. just use the string as an array
Andreas