Return a random numeric string (string containing only numbers) with given length

random:numeric_string(INT length: 10) : STRING

# default length is 10
random:numeric_string()
#> "5516654886"

# make the length 50
random:numeric_string(50)
#> "59890655540253657937760841058182002748397247843655"

random:numeric_string(0)
#=> ""

random:numeric_string(-1)
#=> ""

random:numeric_string(1.1)
#> "2"

Copyright ©2013-2022 SunSed®. All rights reserved.