shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
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
- str*-String
The string to process
Return
- -String
The processed string
Example
import { simplifySpecialChars } from '@blackbyte/sugar/string';
simplifySpecialChars('É'); // ETodo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space