function pData::left

5.x pData.class.php pData::left($value, $NbChar)

File

inc/pchart/pchart/class/pData.class.php, line 784

Class

pData

Code

function left($value, $NbChar) {
  return substr($value, 0, $NbChar);
}