Extract Unique Lines worked example
{
"source": "alpha\nbeta\nalpha\ngamma",
"normalization": "exact"
}
{
"result": "alpha\nbeta\ngamma",
"change_count": 1,
"line_count": 3
}
Text Tools
Keep one occurrence of each distinct line.
Published Last reviewed
Keep one occurrence of each distinct line. Enter lines, comparison in a purpose-built unique lines interface designed for this subject. A stable set keeps the first occurrence of each exact or normalized line. The result includes result, changes, lines, supporting detail, and clear units or diagnostics. Results depend on the entered assumptions, units, and rounding. Review important decisions against authoritative requirements. Processing stays in your browser, and UtilityPages does not store the values you enter.
Workspace
Edit the source fields below and inspect the rendered output alongside your work.
This workspace updates as you edit.
Enter the values above, then transform to see a detailed result.
A stable set keeps the first occurrence of each exact or normalized line.
A stable set keeps the first occurrence of each exact or normalized line. Results depend on the entered assumptions, units, and rounding. Review important decisions against authoritative requirements.
{
"source": "alpha\nbeta\nalpha\ngamma",
"normalization": "exact"
}
{
"result": "alpha\nbeta\ngamma",
"change_count": 1,
"line_count": 3
}
This tool does not store your inputs or results on UtilityPages.org.
A stable set keeps the first occurrence of each exact or normalized line.
Enter lines, comparison. Use values and units from the same scenario so the result is internally consistent.
It reports result, changes, lines, including intermediate context where it helps you review the answer.
Results depend on the entered assumptions, units, and rounding. Review important decisions against authoritative requirements.