Class NameHelper
Assembly: SoCore.dll
Syntax
public static class NameHelper
Methods
FilterFullname(string)
Attempts to filter out garbage which may be provided together with the sender-name from the email-client.
Typical example: "Jostein Kjønigsen" >jostein@kjonigsen.net<
Declaration
public static string FilterFullname(string senderName)
Parameters
| Type |
Name |
Description |
| string |
senderName |
|
Returns
GetInitial(string)
Declaration
public static string GetInitial(string s)
Parameters
| Type |
Name |
Description |
| string |
s |
|
Returns
GetNameComponentsFromFullname(string, bool)
Declaration
public static string[] GetNameComponentsFromFullname(string fullName, bool enableMiddleName)
Parameters
| Type |
Name |
Description |
| string |
fullName |
|
| bool |
enableMiddleName |
|
Returns