Use roles to sync Libraries and Age Rating for simplicty
This commit is contained in:
parent
9f94abe1be
commit
54fb4c7a8a
3 changed files with 11 additions and 9 deletions
|
@ -53,9 +53,9 @@ public static class StringExtensions
|
|||
return string.IsNullOrEmpty(value) ? defaultValue : double.Parse(value, CultureInfo.InvariantCulture);
|
||||
}
|
||||
|
||||
public static string? TrimPrefix(this string? value, string prefix)
|
||||
public static string TrimPrefix(this string? value, string prefix)
|
||||
{
|
||||
if (string.IsNullOrEmpty(value)) return value;
|
||||
if (string.IsNullOrEmpty(value)) return string.Empty;
|
||||
|
||||
if (!value.StartsWith(prefix)) return value;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue