User:Mathglot/sandbox/Templates/Legifrance/prefix

{{documentation|content= For a given base code, supply an initial character 'L' to a string if it begins with a numeric; otherwise, return the string.

Usage
Base codes affected are: CCOM, CEDU, CJA, CPEN, CTRANSP, and CT; there is no change for other base codes.

Parameters
There are two positional parameter.

1 – base code; optional (see table of codes) if omitted, defaults to no-change case 2 – string to examine; required

Examples








Examples with no prefix change: }}