what is the equivalent in c# for left function in vbids = Left(ids, Len(ids) - 1)
use the substring method of the string objectex:string s ="Hello!";Response.write(s.Substring(0,2));outputs: He