Hi all,Novice. I'd like to return the left-most character from an 8 character string & the third from the left character too.Like this ABC00123 returns ACCould anyone suggest how I can modify my novice code to get there. Thank you very much for reading my post. Much obliged;$query = "SELECT LEFT(uninum,3), RIGHT(uninum,5), clmarea, Date FROM tblunimov"; $result = mysql_query($query) or die(mysql_error());echo "<div class='tblstyle1'>";echo "<table class='tblstyle1'>";echo "<tr><th>ini</th><th>item</th><th>area</th><th>date</th></tr>";while($row = mysql_fetch_array($result)){ echo "<tr><td>"; echo $row['LEFT(uninum,3)']; echo "</td><td>"; echo $row['RIGHT(uninum,5)']; echo "</td><td>"; echo $row['clmarea']; echo "</td><td>"; echo $row['Date']; echo "</td></tr>";}echo "</table>";echo "</div>";?>