Java: Java Programming For Beginners a simple Start To Java Programming (Written By a software Engineer)


The matches and lookingat Methods


Download 0.82 Mb.
Pdf ko'rish
bet46/95
Sana09.01.2022
Hajmi0.82 Mb.
#261112
1   ...   42   43   44   45   46   47   48   49   ...   95
Bog'liq
Java Programming For Beginners - A Simple Start to Java Programming ( PDFDrive )

The matches and lookingat Methods:
The  matches  and  lookingat  methods  both  endeavor  to  match  an  information  succession
against  an  example.  The  distinction,  then  again,  is  that  matches  requires  the  whole  enter
grouping  to  be  matched,  while  lookingat  does  not.  Both  techniques  dependably  begin
toward the start of the data string.
The replacefirst and replaceall Methods:
The  replacefirst  and  replaceall  routines  supplant  content  that  matches  a  given  standard
representation.  As  their  names  show,  replacefirst  replaces  the  first  event,  and  replaceall
replaces all events.

Download 0.82 Mb.

Do'stlaringiz bilan baham:
1   ...   42   43   44   45   46   47   48   49   ...   95




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling