Well, with NoteTab there is always more than one way to skin a cat.
Back in the days BEFORE NT had arrays, we used to create FAKE arrays.
^!Set %array01%=January; %array02%=February; ... %array12%=December
End result, it works just like an array, but you can use STRINGS to
access the individual elements:
;extract the month's 2-digit number
;use it as array index
You'd have to translate the names to your appliction. But you will not
need the intransparent code to strip leading zeros from a string.
--- In email@example.com, Axel Berger <Axel-Berger@...> wrote:
> ebbtidalflats wrote:
> > You could use a single 'M' for month in your date function.
> I could, but I don't use a date function. The YYMMDD string, e.g.
> 090209, is part of a file naming and anchor naming scheme.