Similar to SQL `lpad`/`rpad` or Python `ljust`/`rjust` **Reporter**: [Ian Cook](https://issues.apache.org/jira/browse/ARROW-12716) / @ianmcook **Assignee**: [David Li](https://issues.apache.org/jira/browse/ARROW-12716) / @lidavidm **Watchers**: [Rok Mihevc](https://issues.apache.org/jira/browse/ARROW-12716) / @rok #### Related issues: - [[C++] String algorithm library for StringArray/BinaryArray](https://github.com/apache/arrow/issues/16192) (is a child of) - [[R] Add binding for str_pad()](https://github.com/apache/arrow/issues/28871) (is depended upon by) #### PRs and other links: - [GitHub Pull Request #10586](https://github.com/apache/arrow/pull/10586) <sub>**Note**: *This issue was originally created as [ARROW-12716](https://issues.apache.org/jira/browse/ARROW-12716). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*</sub>