do you know how to make this like this one ?
string[3]
{
“211010000001580”,
“211010000004576”,
“211010000001572”
}
Try this:
stringList = stringList.Select(Function(str) str.Replace(“'”, “”)).ToList()
text.Replace(“'”,“”)
@shanti_18 Use .Replace(“'”,“”)
inputString = inputString.Replace(“'”, “”)
HI,
Can you try the following expression? This removes single quote from all the items.
ListOfAccountNumber = ListOfAccountNumber.Select(Function(s) s.Trim({"'"c})).ToList()
Regards,
got an error
Hi @shanti_18
How about the following?
list1.Select(Function(x) x.replace(Chr(34), String.Empty)).ToList()
Regards!
Try this @shanti_18
stringList = stringList.Select(Function(str) str.Replace(“'”, “”)).ToList()
Hi,
Can you check type of ListOfAccountNumString? Is it List<String>
as you mentioned in the above post?
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.