fluid-api/src/main/java/com/fluidbpm/program/api/vo/field/MultiChoice.java
@XmlTransient
	public String combineStringArrayWith(
			List<String> listToCombineParam,
			String separatorCharsParam) {
		String returnValue = UtilGlobal.EMPTY;

		int lengthOfSepChars = (separatorCharsParam == null) ? 0 :
				separatorCharsParam.length();

		if(listToCombineParam != null && !listToCombineParam.isEmpty()) {
			StringBuffer concatBuffer = new StringBuffer();
			for(String toAdd : listToCombineParam) {
				concatBuffer.append(toAdd);
				concatBuffer.append(separatorCharsParam);
			}

			String concatString = concatBuffer.toString();
			returnValue = concatString.substring(0, concatString.length() - lengthOfSepChars);
		}

		return returnValue;
	}
@XmlTransient
	public String combineStringArrayWith(
			List<String> listToCombineParam,
			String separatorCharsParam) {
		String returnValue = UtilGlobal.EMPTY;

		int lengthOfSepChars = (separatorCharsParam == null) ? 0 :
				separatorCharsParam.length();

		if(listToCombineParam != null && !listToCombineParam.isEmpty()) {
			StringBuffer concatBuffer = new StringBuffer();
			for(String toAdd : listToCombineParam) {
				concatBuffer.append(toAdd);
				concatBuffer.append(separatorCharsParam);
			}

			String concatString = concatBuffer.toString();
			returnValue = concatString.substring(0, concatString.length() - lengthOfSepChars);
		}

		return returnValue;
	}
@ XmlTransient public String combineStringArrayWith ( List < String > listToCombineParam , String separatorCharsParam ) { String returnValue = UtilGlobal . EMPTY ; int lengthOfSepChars = ( separatorCharsParam == null ) ? 0 : separatorCharsParam . length ( ) ; if ( listToCombineParam != null && ! listToCombineParam . isEmpty ( ) ) { StringBuffer concatBuffer = new StringBuffer ( ) ; for ( String toAdd : listToCombineParam ) { concatBuffer . append ( toAdd ) ; concatBuffer . append ( separatorCharsParam ) ; } String concatString = concatBuffer . toString ( ) ; returnValue = concatString . substring ( 0 , concatString . length ( ) - lengthOfSepChars ) ; } return returnValue ; }
Combine {@code listToCombineParam} into a single {@code String}.

@param listToCombineParam To combine.
@param separatorCharsParam The char used to separate with.

@return The combined text value.
Combine { @code listToCombineParam } into a single { @code String } .