| StringUtilitiesGenerateRandomWord Method |
Generates a string which consists of random letters in the range [a-z] with the
specified length.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static string GenerateRandomWord(
int length,
bool initialUpper
)
Public Shared Function GenerateRandomWord (
length As Integer,
initialUpper As Boolean
) As String
public:
static String^ GenerateRandomWord(
int length,
bool initialUpper
)
static member GenerateRandomWord :
length : int *
initialUpper : bool -> string
Parameters
- length
- Type: SystemInt32
The length of the string to be generated. - initialUpper
- Type: SystemBoolean
If true, the initial letter of the generated string will be
converted to upper-case. If false, the initial letter will remain lower-case.
Return Value
Type:
StringA string which consists of a random sequence of letters [a-z] with the specified length.
See Also
Comments