Skip to main content

String

Utils function for string manipulate

simplifyString​

Remove all accents and convert string to lower case, remove leading and trailing white space

simplifyString(value: string)

Arguments​

value (string): the string that want to simplify

Return​

string: string after simplify

Example​

simplifyString('Lê Phúc Minh Quân')
// => 'le phuc minh quan'