Codice PHP:
if(substr($variabile,0,5) == "ciao_"){
//si
}else{
//no