• pavan kumar v
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Can anyone guide me on this to tackle this.
String aa = ‘hey how you’;
String bb = aa.contains(‘are’); // I need to extract ‘how’ from aa and place it in a new string bb.
Then I need to ADD a NEW word ‘are’ after the word ‘how’
So finally the sentence would be ‘ hey how are you’ .
Can anyone please guide me on this