Reverse Lines worked example
{
"source": "First\nSecond\nThird\nFourth",
"mode": "line_order"
}
{
"result": "Fourth\nThird\nSecond\nFirst",
"line_count": 4,
"changes": 4
}
Text Tools
Calculate reversed text from lines, reverse mode.
Published Last reviewed
Calculate reversed text from lines, reverse mode. Enter lines, reverse mode in a purpose-built reverse lines interface designed for this subject. Line order or Unicode code-point order within each line is reversed according to the selected mode. The result includes reversed text, lines, changed lines, supporting detail, and clear units or diagnostics. Results depend on the entered assumptions, units, supported input range, 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 process to see a detailed result.
Line order or Unicode code-point order within each line is reversed according to the selected mode.
Line order or Unicode code-point order within each line is reversed according to the selected mode. Results depend on the entered assumptions, units, supported input range, and rounding. Review important decisions against authoritative requirements.
{
"source": "First\nSecond\nThird\nFourth",
"mode": "line_order"
}
{
"result": "Fourth\nThird\nSecond\nFirst",
"line_count": 4,
"changes": 4
}
This tool does not store your inputs or results on UtilityPages.org.
Line order or Unicode code-point order within each line is reversed according to the selected mode.
Enter lines, reverse mode. Use values and units from the same scenario so the result is internally consistent.
It reports reversed text, lines, changed lines, including intermediate context where it helps you review the answer.
Results depend on the entered assumptions, units, supported input range, and rounding. Review important decisions against authoritative requirements.