Sets the array element delimiter string for separating array or row element
values (";" by default).

@param delimiter the array element delimiter
17146
public Csv arrayElementDelimiter(String delimiter) {
		Preconditions.checkNotNull(delimiter);
		internalProperties.putString(FORMAT_ARRAY_ELEMENT_DELIMITER, delimiter);
		return this;
	}
157207
protected void setArraySeparator(String arraySeparator) {
        if (arraySeparator == null) {
            arraySeparator = StringUtils.EMPTY;
        }
        this.arraySeparator = arraySeparator;
    }
452464
public static String arrayToList(String[] array, String delimiter) {
	if (ArrayUtil.isEmpty(array)) return "";
	StringBuilder sb = new StringBuilder(array[0]);

	if (delimiter.length() == 1) {
	    char c = delimiter.charAt(0);
	    for (int i = 1; i < array.length; i++) {
		sb.append(c);
		sb.append(array[i]);
	    }
	}
	else {
	    for (int i = 1; i < array.length; i++) {
		sb.append(delimiter);
		sb.append(array[i]);
	    }
	}

	return sb.toString();
    }
491259
private function setDelimiters($delimiters)
    {
        list($otag, $ctag) = explode(' ', $delimiters);
        $this->otag = $otag;
        $this->ctag = $ctag;
        $this->otagLen = strlen($otag);
        $this->ctagLen = strlen($ctag);
    }
1026219
public static String join(String delimiter, String[] arr) {
    return join(delimiter, Arrays.asList(arr));
  }
233533
@SuppressWarnings({"rawtypes", "unchecked"})
    public static String join(final Object[] array, final String delimiter, final TextPrinter printer) {
        
        Objects.requireNonNull(printer);
        
        if(array == null || array.length == 0) {
            return "";
        }
        
        String value = Arrays.stream(array)
                .map(v -> printer.print(v))
                .collect(Collectors.joining(defaultString(delimiter)));
        
        return value;
    }
1274658
private static boolean isDelimiter(final char ch, final char[] delimiters) {
        if (delimiters == null) {
            return CharUtils.isWhitespace(ch);
        }
        for (final char delimiter : delimiters) {
            if (ch == delimiter) {
                return true;
            }
        }
        return false;
    }
1001259
public static String implode(String[] inputArr, String delimiter) {
        String implodedStr = "";

        implodedStr += inputArr[0];
        for (int i = 1; i < inputArr.length; i++) {
            implodedStr += delimiter;
            implodedStr += inputArr[i];
        }
        return implodedStr;
    }
724268
public static String join(final Object array, final String separator) {

    return isArray(array) ? join(toArray(array, ClassUtils.getComponentClass(array)), separator)
      : Objects.toString(array);
  }
573877
@SuppressWarnings({"rawtypes", "unchecked"})
    public static String join(final Object[] arrays, final String separator, final ElementConverter elementConverter) {

        if(arrays == null) {
            return "";
        }

        final int len = arrays.length;
        if(len == 0) {
            return "";
        }

        StringBuilder sb = new StringBuilder();
        for(int i=0; i < len; i++) {
            final Object element = arrays[i];
            sb.append(elementConverter.convertToString(element));

            if(separator != null && (i < len-1)) {
                sb.append(separator);
            }
        }

        return sb.toString();

    }
1370640
public static String join(String[] array, String delimiter) {
        if (empty(array)) { return ""; }
        StringBuilder sb = new StringBuilder();
        join(sb, array, delimiter);
        return sb.toString();
    }
295528
public static void join(StringBuilder sb, Object[] array, String delimiter) {
        if (empty(array)) { return; }
        sb.append(array[0]);
        for (int i = 1; i < array.length; i++) {
            sb.append(delimiter);
            sb.append(array[i]);
        }
    }
834417
public static function remove(array& $array, string $key, string $delimiter = null)
    {
        // Which string delimiter should we use?
        if (!isset($delimiter)) {
            $delimiter = static::$delimiter;
        }

        // Explode the key according to that delimiter.
        $keys = explode($delimiter, $key);

        while ($key = array_shift($keys)) {
            if (!isset($array[$key]) || !is_array($array[$key])) {
                return;
            }

            $array =& $array[$key];
        }

        unset($array[array_shift($keys)]);
    }
958395
public static function arrayToString(array $array, $delimiter = ""): string {
        $string = "";
        foreach ($array as $value) {
            if (\is_array($value)) {
                $string .= ArrayUtil::arrayToString($value, $delimiter) . $delimiter;
            } else {
                $string .= $value . $delimiter;
            }
        }
        return $string;
    }
171685
public void setElement (int row, int col, float value) {
        switch (col) {
        case 0:
            switch (row) {
            case 0: m00 = value; return;
            case 1: m01 = value; return;
            case 2: m02 = value; return;
            }
            break;
        case 1:
            switch (row) {
            case 0: m10 = value; return;
            case 1: m11 = value; return;
            case 2: m12 = value; return;
            }
            break;
        case 2:
            switch (row) {
            case 0: m20 = value; return;
            case 1: m21 = value; return;
            case 2: m22 = value; return;
            }
            break;
        }
        throw new ArrayIndexOutOfBoundsException();
    }
1356476
public static String join(final Object array, final String separator) {
		$.checkNotEmpty(array);
		Class<?> arrayType = array.getClass();
		Preconditions.checkArgument(arrayType.isArray(), "parameter array must be Array: %s", array);

		StringBuffer sb = new StringBuffer();
		sb.append(Array.get(array, 0));

		int length = Array.getLength(array);
		for (int i = 1; i < length; i++) {
			sb.append(separator).append(Array.get(array, i));
		}

		return sb.toString();
	}
774322
public static String join(final String delimiter, final Object... elements)
	{
		final StringBuilder sb = new StringBuilder();
		for (final Object part : elements)
		{
			if (part == null)
			{
				continue;
			}
			if (sb.length() > 0)
			{
				sb.append(delimiter);
			}
			sb.append(part.toString());
		}
		return sb.toString();
	}