ZennoLab Assemblies Documentation
RandomText Method
Example 

Type: System.Int32

The count of chars in result text.

Type: System.String

The set of options ("d" - use digits, "c" - use big letters, "s" - use only customSymbols, "f" - first letter is large)

Type: System.String

The custom set of letters to use with option "s".

Gets the random text.
Syntax
public static string RandomText( 
   int countOfChars,
   string options,
   string customSymbols
)

Parameters

countOfChars

Type: System.Int32

The count of chars in result text.

options

Type: System.String

The set of options ("d" - use digits, "c" - use big letters, "s" - use only customSymbols, "f" - first letter is large)

customSymbols

Type: System.String

The custom set of letters to use with option "s".

Return Value

Type: System.String

The random text.

Example
The following example shows call the RandomText method.
var result = Macros.TextProcessing.RandomText(20, "dcf", "");
$result = Macros::TextProcessing::RandomText(20, "dcf", "");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

TextProcessing Class
TextProcessing Members

Send Feedback