Product Home
DTM Data Generation SDK Online Documentation
Product Profile
SDK components
Functions map
Low level API
Short Random
Integer Random
Random Symbol
Double Random
Random String
Random Date
Random Time
C/C++ example
Fill Methods level API
From list
From file
From table
From Values Library
Incremental
By maks
By SQL statement
Rule level API
Rule properties
Rule items
One rule item
Project level API
Project operations
Project properties
Project rules
Object handles
Database connection
Error handling
SDK limitations
Build application with SDK
License agreement

Random String

Creates string with specified length.
C/C++
char* StringRandom(int length)

C#
string StringRandom(int length)

Notes:

  • maximum string length is 2048. You should call the function a few times to generate longer strings.
  • if 'length' parameter <=0 the function returns empty string.