Format a string according to the indicated mask.

1 string.mask

<string.mask>
    <text /> !
</string.mask>

Exceptions

requires 1 arguments, received: ...

The entry parameter has not been specified.

Example

Example of format of an account.

Copy
<xsql-script name='string_mask_sample1'>
    <body>
        <!-- 6000.0000.0000 -->
        <set name='text'>6000</set>

        <println>
            <string.mask mask='0000.0000.0000'>
                <text />
            </string.mask>
        </println>
    </body>
</xsql-script>

Returns:

Copy
6000.0000.0000