Hacker News new | past | comments | ask | show | jobs | submit login

Shouldn't it be leftpad(leftpad (str,pad,n/2),leftpad("",pad,n/2),1)?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: