Hacker News new | ask | show | jobs
by kdma 3741 days ago
Shouldn't it be leftpad(leftpad (str,pad,n/2),leftpad("",pad,n/2),1)?