public static void Main()
string test = WriteItem("-", "0.41666667", "Lambrusco Emilia Rosato 75cl", "5.00");
public static string WriteItem(string modifier, string qty, string libelle, string price)
string itemLineQty = modifier + " " + qty + " x ";
string itemLinePrice = " " + price + " \u20ac";
int lengthSubstring = 19 - (itemLineQty.Length + itemLinePrice.Length);
string itemLineName = libelle.Substring(0, lengthSubstring > libelle.Length ? libelle.Length : lengthSubstring);
string itemLine = itemLineQty + itemLineName + itemLinePrice;