Yngvarr

Generation

generate functionFri, 09 Dec 2022

обрезать строку с конца

function cutString($string, $count) { return substr($string, 0, strlen($string) - $count); } cutString('Привет, мир!', 4)

Questions about programming?Chat with your personal AI assistant