substring a string,x[2:(-2)]