---
nav-title: "Formatted String How-To"
title: "formatted-string"
environment: nativescript
description: "Examples for using Formatted String"
previous_url: /ApiReference/text/formatted-string/HOW-TO
---
# Formatted String
Using a formatted string requires loading formatted-string and span module.
{%snippet formatted-string-require%}

### How to set formatted text content for a label
{%snippet formatted-string-set%}
