
[lua scripts api] created manual from embedded library documentation [lua api] created stub to contain lua api manual
632 B
632 B
title | id | weight | draft | author |
---|---|---|---|---|
strip_accents | strip_accents | 60 | false | people |
NAME
strip_accents
SYNOPSIS
strip accents from characters
USAGE
local ds = require "lib/dtutils.string"
local result = ds.strip_accents(str)
str - string - the string with characters that need accents removed
DESCRIPTION
strip_accents removes accents from accented characters returning the unaccented character.
RETURN VALUE
result - string - the string containing unaccented characters
REFERENCE
Copied from https://forums.coronalabs.com/topic/43048-remove-special-characters-from-string/