How to replace string with single quote

Hi All,

I have excel column out put and iam taking it in IList(String). i want to add single quotes to it. how to add that.
My out put is this


What do you want the output to look like?
Just brainstorming, for each item in list assign new value to the item as β€œ'”+item.tostring+β€œ'” or something similar.

1 Like

Yep, that’d work! By the way, is there any other way of doing this? :thinking:

Hi IList is string or or list of strings

Can u clear that

Nived N :robot: