Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

After pre-creating a pad-string constant of sufficient length, no loop is needed. For each target$, calculate how long the needed pad is, grab that many characters, and prepend.


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

Search: