문제

I have a string YES:YES;No:No;NA:NA, I want to split by colon and make it as an array,And iterate an array and display it in the drop down box. Is it possible? Can anyone help me to resolve this issue?

도움이 되었습니까?

해결책

Inside the template use:

${#strings.arraySplit(yourVar, ':')}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top