Add implementation of qsub_options and program_options to sqsubstr