Computer Science, asked by hhfjekdokwkwndjcieje, 1 month ago

Define:

1) startwith( )
2) endswith( )


In Java_!!​

Answers

Answered by Anonymous
6

sᴛᴀʀᴛsᴡɪᴛʜ( )

  • This function checks wheather a string starts with a particular string. It returns true if the strings are same otherwise return false.

εɢ A = "My Name";

B = "My"

A = starts with (B);

  • συтρυт True.

ᴇɴᴅsᴡɪᴛʜ()

  • This Function checks wheather a string ends with a particular string. It returns true if the strings are same otherwise return false.

εɢ → A = "My Name";

B = "Name"

A = ends with (B);

  • συтρυт → True.

━━━━━━━━━━━━━━━━━━━━━━━━━━

ıтsнαρρyqυєєη03~

Similar questions