Migliorie grefiche

This commit is contained in:
2025-09-18 12:17:45 +02:00
parent 06bda7c881
commit 4645b2660e
8 changed files with 34 additions and 7 deletions

View File

@@ -4,8 +4,10 @@ namespace salesbook.Shared.Core.Utility;
public static class UtilityString
{
public static string ExtractInitials(string fullname)
public static string ExtractInitials(string? fullname)
{
if (fullname == null) return "";
return string.Concat(fullname
.Split(' ', StringSplitOptions.RemoveEmptyEntries)
.Take(3)