I want to delete part of name. Users enter the name. Part that I want to delete is part after _. I made code which will find _ in name. Now I have problem, function strdel
(PAWN) doesn't exist, str_replace
won't help because it doesn't work as strdel
. If is _ 6th sign in string, I want to delete all signs after 6th(including 6th). Here's doc for strdel
-> https://wiki.sa-mp.com/wiki/Strdel
Does PHP have similar function like strdel
(with start
and end
parameter)?
Code: $_hsync_ime__ = strpos($_hsync_ime, "_");