StringExtensions..::..TryAsNumeric Method (String, String%, UInt64%)
convert the value as a numeric string,
if short enough you will also get the int64 value however for longer text than a few characters you will need to use string.TryAsNumeric(out IEnumerable<ulong> longArray)
Namespace:
System.TextAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
[MethodImplAttribute] public static bool TryAsNumeric( this string input, out string resultAsString, out ulong resultAsLong )
Parameters
- input
- Type: String
the text to parse
- resultAsString
- Type: String%
the resulting value
- resultAsLong
- Type: UInt64%
the int64 value or 0 if failed