I have a string and I'm trying to find out what the value is at a certain character position in that string. For example, if my string is 'abcd' and I want to find the character at position 1(b) which string function would I use.
Rob
All strings are pretty much char arrays... so you could say that string abcd actually are ellements of some char[] or string. So if you said
$string = "abcd";
you could then just
echo $string[1];
which would be b.
Hope that Helps!
strpos()
http://www.php.net/manual/en/function.strpos.php
Di