--- title: correctSpacesToNbsp status: published category: editor group: Function author: api date: 06/23/2023 order: 14 ---Public Function ##### Parameters `input` ```ts string ``` ##### Returns ```ts string ```