select '[2.0]Exploration and Development Department'
--想截取掉[2.0] 只显示Exploration and Development Department
select right('[2.0]Exploration and Development Department',len('[2.0]Exploration and Development Department')-5)
select SUBSTRING('[2.0]Exploration and Development Department',6,LEN('[2.0]Exploration and Development Department'))
---PB里的写法是
ls_dept = Right(string(ldw_input.object.dept_index[ll_row]), len(string(ldw_input.object.dept_index[ll_row]))-5)