I'm trying to recast an integer into a 9digit (leading 0s) integer, and not sure if (or how) to do this with the rewrite field. can I use a function like: STR_PAD_LEFT? if so, how would I enter this into the Replacement Pattern field? thanks, C

Comments

twistor’s picture

Component: User interface » Code
Assigned: Unassigned » twistor
Category: support » feature
Status: Active » Fixed

I've added a pad string plugin which will do what you're looking for. Ideally, a plugin that utilizes sprintf syntax would be better for these kinds of things.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.