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
set dynamic user-data-dir using selenium C#
set dynamic user-data-dir generate a temporary folder at runtime and pass it to Chrome. using OpenQA.Selenium; using OpenQA.Selenium.Chrom...
Read More
Regular Expression for remove whitespace and url format in c# #regx
Regular Expression for remove whitespace and url format in c# #regx using System; using System.Text.RegularExpressions; public class Prog...
Read More
if particular text is available on the page using jquery
let match = $('.listcalc').filter(function() { return $(this).text().includes('FIT EYE'); }); console.log(match[0]);
Read More
Conatains in Selenium automation with C# #containsinselenium #c#
Conatains in Selenium automation with C# #containsinselenium #c # .listcalc element that contains "FIT CARE" using code (e.g., ...
Read More
xls to Csv convetion and replace comma when convert csv
using Google.Apis.Auth.OAuth2; using Google.Apis.Gmail.v1; using Google.Apis.Gmail.v1.Data; using Google.Apis.Services; using Goog...
Read More
Subscribe to:
Comments (Atom)