@model string @{ var arr = Model.Split('#'); string name = arr[0], id = arr[1], body = ""; if (arr.Length > 2) { body = arr[2]; } }