simplifySpecialChars

Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.string

This function take a string and replace all the special chars like “é”, “à”, etc… with their simple version like “a”, “e”, etc…

Params

  1. str*-String

    The string to process

Return

  1. -String

    The processed string

Example

import { simplifySpecialChars } from '@blackbyte/sugar/string';
simplifySpecialChars('É'); // E

Todo

  • testsnormal