Extract command escape value code as a public class method