string barcodes = string.Join(",", result.data .Where(a => !string.IsNullOrEmpty(a.BarcodeValue)) // ignore null/e...
Read More
Hi
leading zeros removed but then still ensure it becomes a fixed 13-digit barcode
string barcodes = string.Join(",", result.data.Select(a => { if (long.TryParse(a.BarcodeValue, out long num)) ...
Read More
Remove the leading zero(s) before joining, you can parse to a number and back to string.
string barcodes = string.Join(",", result.data.Select(a => { if (long.TryParse(a.BarcodeValue, out long num)) ...
Read More
Subscribe to:
Comments (Atom)