Blog

Guides to working with text

Practical guides to reversing text, Unicode characters, cleanup, counting and common encodings. Each guide explains a real task, shows an example and links to a tool you can try.

Tokens versus characters

How reversing or styling text by character differs from doing it by word token, what each changes in stored text, and how to check if output stays usable.

In US Date Format

How the US month-day-year date format works, how it differs from day-month-year and ISO 8601, and when converting dates to it helps or causes confusion.

Fix unexpected end of JSON input

What the 'unexpected end of JSON input' error means, how to tell an empty response from a truncated one, and when a JSON formatter helps or misleads.

Token classification in NLP

What token classification in NLP does, how it differs from related tasks, when it fits your use, and how its labeled output holds up when copied or shared.

Import CSV with MATLAB importdata

How MATLAB importdata turns CSV and TSV text into numbers and text, what can be lost on the way, and when readtable, readmatrix or readcell is the better choice.

Convert JSON5 to JSON

What converting JSON5 to strict JSON changes, which values and comments are lost, and when the conversion is safe for configs, APIs and shared files.