Skip to content

[C++] Add string padding option to determine which side the extra space goes on #28919

@asfimport

Description

@asfimport

I'm trying to implement R bindings for the compute function "utf8_center" but in cases where there are an odd number of spaces in total, the extra space is added to the left.  However, in R, the extra space is added to the right.

Please can we have another string pad option to determine which side the extra space goes, so I can make the functionality match?

Reporter: Nicola Crane / @thisisnic
Assignee: David Li / @lidavidm

PRs and other links:

Note: This issue was originally created as ARROW-13234. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions