👉 In linguistics and computer science, a "fragmenting" operation is an algorithm that processes a sequence of characters or symbols to produce a new sequence. The process involves breaking down the input into smaller pieces, often by removing leading and trailing spaces, converting non-alphabetic characters to lowercase, and optionally applying a filter function (e.g., character comparison) on each piece. For example, consider a scenario where we have an input string "Hello world" that needs to be split into individual words