Attachment can be found on
https://lists.apache.org/[email protected] list.
Not sure why it didn't show up on dev - I sent msg to both lists.

On Tue, Mar 15, 2022 at 3:41 PM Mike Beckerle <[email protected]> wrote:

> No attached PDF.
>
> Removal of blanks from a number would normally be by way of DFDL "padding"
> and "trimming" properties.
>
> You need dfdl:textNumberJustification property, also textTrimKind,
> textPadKind, textNumberPadCharacter.
>
> You can also use textNumberPattern to indicate that a number may have
> leading spaces or zeros, but this is mostly about output when those leading
> zeros are required.
>
> Padding on left == Right Justified
> Padding on right == Left Justified
> Padding around both sides = Center Justified.
>
>
>
> On Tue, Mar 15, 2022 at 8:53 AM Attila Horvath <[email protected]
> >
> wrote:
>
> > Ping... any assistance appreciated - thx
> >
> > ---------- Forwarded message ---------
> > From: Attila Horvath <[email protected]>
> > Date: Mon, Mar 14, 2022 at 12:38 PM
> > Subject: string to integer conversion w/ leading blanks fails
> > To: <[email protected]>, <[email protected]>
> >
> >
> > ALCON
> >
> > Can someone pls suggest a way to convert string to integer if/when
> leading
> > blanks are present?
> >
> > My attempts are failing - see attached pdf for more details.
> >
> > Thx in advance
> >
> > Attila
> >
>

Reply via email to