Hi guys why i can't explode or count character with " " in my string?
$input = 'sv_privateClientsForClients\\0\\sv_pure\\0
0 0 0 0 999 \"DarkGhost\"\"spectator\"
0 0 0 0 999 \"MaximuM\"\"spectator\"
",';
$str = substr($input, strpos($input, "sv_pure") + 11, -7);
$x = explode('
', $str); //not work
$c = substr_count($str,"
"); // not work