Skip to main content
Module

x/simple_utility/mod.pure.full.ts>fixWidth

Simplify processing for Deno.
Go to Latest
function fixWidth
import { fixWidth } from "https://deno.land/x/simple_utility@v2.0.10/mod.pure.full.ts";

Convert half-width string (ex: Japanese Kana) to full-width and full-width alphanumeric symbols to half-width.

Examples

Example 1

const format = fixWidth("1+1=2");

Parameters

data: string

Returns

string