decode str