Forums

Home » Liferay Portal » English » 3. Development

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

l ll

Rank: Junior Member

Posts: 71

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: 1692

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

l ll

Rank: Junior Member

Posts: 71

Join Date: December 12, 2011

Recent Posts

thank you very much