Foren

array

ildar i, geändert vor 12 Jahren.

array

Regular Member Beiträge: 158 Beitrittsdatum: 12.12.11 Neueste Beiträge
Many utilities in the liferay, is there a search function element in the array?
Something like
*Util*array.getElement (array [], str)
thumbnail
Sandeep Nair, geändert vor 12 Jahren.

RE: array

Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
Do you want to check if String is contained in the array then use

ArrayUtil.contains(Object[] array, Object value)

ArrayUtil is in the package com\liferay\portal\kernel\util

Regards,
Sandeep
ild i, geändert vor 12 Jahren.

RE: array

Regular Member Beiträge: 158 Beitrittsdatum: 12.12.11 Neueste Beiträge
thank you very much