|
![]() |
praneeth ram wrote:I done it successfully, here is the solution..
OCPJP6-05-11
"Your life is in your hands, to make of it what you choose."
Zandis Murāns wrote:I think there is absolutely no need for using regex in such case.
Right in the opposite, i think he MUST user power of indexOf() functions:
Zandis Murāns wrote:
Zandis Murāns wrote:I see two words "<mobile>" in his original base string. You see more than that?
Zandis Murāns wrote:So what was the question about? Was it about words or tags?
Zandis Murāns wrote:You're not getting my point. I know regex very well and I know regex's possibilities very well neither.
I see simple case, I see as simple solution as the case was.
Anyways, you can continue argue on why solution of mine was good or not, in meantime I'll continue to think about efficiency of the same code of mine and go further. So good luck on that.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |