I'd like to have your suggestions on searching for particular text in a multi-line string.
I found the contains() method does not work: boolean isContain = multi_line_String.contains(expectedText) Do I have to break down my multi line string into single lines for the search? I think that may slow down the search. Or is there an object I could use to declare the multi line, instead of using String? many thanks, Kind Regards Lea Deng Creating connections to make IT easier for everyone Lead Test Analyst IT Regulatory Services Team Christchurch City Council New Zealand DDI: +64 (3) 941 88 55 Extn: 8855 [email protected]<mailto:[email protected]> ********************************************************************** This electronic email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. The views expressed in this message are those of the individual sender and may not necessarily reflect the views of the Christchurch City Council. If you are not the correct recipient of this email please advise the sender and delete. Christchurch City Council http://www.ccc.govt.nz **********************************************************************
