fxs: Fixed character length of a String

View source: R/fxs.r

fxsR Documentation

Fixed character length of a String

Description

Format string of fixed character length

Usage

fxs(x, pattern = "0000")

Arguments

x

string to format

pattern

format to adhere to

Value

x reformatted according to pattern

Examples

fxs(c(0,1,34, 50000), pattern = "    ")
fxs(c(0,1,34, 50000), "000000")

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.