Letters Method (String, String, String, Boolean)

HttpServer.dll

Validates a string to consist of letters plus specified characters. Basic allowed letters are A-Z and a-z. For extra characters SpecialLetters

Namespace:  HttpServer.Helpers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public string Letters(
	string name,
	string value,
	string extraAllowedCharacters,
	bool required
)
Visual Basic (Declaration)
Public Function Letters ( _
	name As String, _
	value As String, _
	extraAllowedCharacters As String, _
	required As Boolean _
) As String
Visual C++
public:
String^ Letters(
	String^ name, 
	String^ value, 
	String^ extraAllowedCharacters, 
	bool required
)

Parameters

name
Type: System..::.String
The name of the parameter
value
Type: System..::.String
The value to validate
extraAllowedCharacters
Type: System..::.String
A string consisting of extra allowed characters
required
Type: System..::.Boolean
If the value is required

Return Value

The validated string or string.Empty if validation failed

See Also