Transform a string to a int number summing the ASCII value if its characters

Namespace: LLCryptoLib.Utils
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public static int Text2Int(
	string text
)
Visual Basic
Public Shared Function Text2Int ( _
	text As String _
) As Integer
Visual C++
public:
static int Text2Int(
	String^ text
)

Parameters

text
Type: System..::..String
input string

Return Value

Integer number of the string

Exceptions

ExceptionCondition
System..::..ArgumentNullException

See Also