This commit is contained in:
2020-01-22 00:19:38 +00:00
parent 88d66cea1d
commit 8de0c922cd
5 changed files with 40 additions and 36 deletions

View File

@@ -121,16 +121,16 @@ namespace AyaNova.Biz
}
// public static string TranslateLTCustomFieldToInternalCustomFieldName(string lTCustomFieldName)
// {
// var i = System.Convert.ToInt32(System.Text.RegularExpressions.Regex.Replace(
// lTCustomFieldName, // Our input
// "[^0-9]", // Select everything that is not in the range of 0-9
// "" // Replace that with an empty string.
// ));
public static string TranslateLTCustomFieldToInternalCustomFieldName(string lTCustomFieldName)
{
var i = System.Convert.ToInt32(System.Text.RegularExpressions.Regex.Replace(
lTCustomFieldName, // Our input
"[^0-9]", // Select everything that is not in the range of 0-9
"" // Replace that with an empty string.
));
// return $"c{i}";
// }
return $"c{i}";
}