Yngvarr

Generation

generate functionFri, 09 Dec 2022

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

function cut_string_at_end($string, $cut) { return substr_replace($string, '', -$cut); } cut_string_at_end('hello', 0)

Questions about programming?Chat with your personal AI assistant