This commit is contained in:
@@ -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}";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user