AvatarUtils.ToInitials Method
Extracts the initials (first two) of a string. If no characters present in the string then an empty string is returned.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function ToInitials ( _
fullName As String _
) As String
public static string ToInitials(
string fullName
)
public:
static String^ ToInitials(
String^ fullName
)
static member ToInitials :
fullName:string -> string
public static function ToInitials(
fullName : String
) : String
Parameters
- fullName
Type: System.String
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.