Click or drag to resize

ConvertToAsciiValues Method

Text characters convert to ASCII values

Namespace:  SOWIData.Helper
Assembly:  SOWIData.Helper (in SOWIData.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static int[] ToAsciiValues(
	this string pText
)

Parameters

pText
Type: SystemString
Text convert to ASCII values

Return Value

Type: Int32
Integer array

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Examples
Text example "Franz" converts to ASCII numbers array 070 114 097 110 122
lResult = ("Franz").ToAsciiValues();
See Also