private static string Compress(string invoiceReferenceNumber) { return invoiceReferenceNumber.Replace(" ", "").TrimStart('0'); } }