with t as ( select '간격띄기' txt from dual union all select '테스트' txt from dual union all select 'space' txt from dual union all select 'we are the champion' txt from dual union all select '테스트테스트테스트테스트테스트' txt from dual ) select regexp_replace(txt,'(.)','\1'||lpad(' ',trunc((80-length(txt))/(length(txt)-1)),' ')) txt_space from t
정확하게 되지는 않네요.