我有一组代码返回一个值“2;#bbbb”,因为我想实现 bbbb。下面是我写的代码。SPListItemCollection col = StationaryList.Items;for (int i = 0; i < col.Count; i++) { SPListItem item = col[i]; categoryName=item["QuizCategoryName"].ToString(); }
Please tell me what do i do to achieve this.
Actual Output: "2;#bbbb"
Expected Output: bbbb