forked from PGR/ascnet
1
0
Fork 0
ascnet/AscNet.Logging/LoggingExtensions.cs

17 lines
365 B
C#
Raw Normal View History

namespace AscNet.Logging
{
public static class LoggingExtensions
{
public static string RemoveBefore(this string value, char character)
{
int index = value.LastIndexOf(character);
if (index > 0)
{
value = value[(index + 1)..];
}
return value;
}
}
}