Skip to content

Find and Highlight WordΒ #68

@e5LA

Description

@e5LA

Task

Implement a function to find all occurrences of a word in a string and highlight them.

  • Input: text String, word String
  • Output: new string with matches wrapped (e.g., **word**)
  • Use regex with word boundaries
  • File: strings/HighlightWord.kt

Update the strings/README.md with a short entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions