Show / Hide Table of Contents

Class NameHelper

Inheritance
object
NameHelper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Util
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
Type Description
string

GetInitial(string)

Declaration
public static string GetInitial(string s)
Parameters
Type Name Description
string s
Returns
Type Description
string

GetNameComponentsFromFullname(string, bool)

Declaration
public static string[] GetNameComponentsFromFullname(string fullName, bool enableMiddleName)
Parameters
Type Name Description
string fullName
bool enableMiddleName
Returns
Type Description
string[]
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top