replaceAll and replace

Viewing 1 reply thread
  • Author
    Posts
    • #6591
      DataFlair TeamDataFlair Team
      Spectator

      Is there any reason to use ‘replaceAll’ in ‘TagAnalysis’ program? Is it ok to use just ‘replace’ ?

    • #6592
      DataFlair TeamDataFlair Team
      Spectator

      if the occurrence is more than one then use replaceAll else replace can be used.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.