Transform a string to a int number summing
the ASCII value if its characters
Namespace: LLCryptoLib.UtilsAssembly: 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
| Exception | Condition |
|---|
| System..::..ArgumentNullException | |
See Also