Skip to Content

mvSQL Database Function - RJ0()

Summary

Causes a string to be a given length by padding the beginning of a string with the number 0.

Syntax

RJ0(<string>, <length>)

Parameters

string

The string to pad.

length

The desired length of the string.

Returns

A padded string.

Examples

RJ0('ABC', 6)

Returns

000ABC