Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
ildar sl
array
February 13, 2012 2:10 AM
Answer

ildar sl

Rank: Regular Member

Posts: 147

Join Date: December 12, 2011

Recent Posts

Many utilities in the liferay, is there a search function element in the array?
Something like
*Util*array.getElement (array [], str)
Sandeep Nair
RE: array
February 13, 2012 4:36 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1732

Join Date: November 5, 2008

Recent Posts

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
ildar sl
RE: array
February 13, 2012 7:25 PM
Answer

ildar sl

Rank: Regular Member

Posts: 147

Join Date: December 12, 2011

Recent Posts

thank you very much

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!