PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • NoAccent and UNICODE
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Transforms the accented characters found in a character string into non-accented characters.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 16 and later
Universal Windows 10 App This function is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This function is now available for the Windows Phone applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
NoAccent("élan")    // Returns "elan"
NoAccent("fiancée")   // Returns "fiancee"
NoAccent("")          // Returns ""
Syntax
<Result> = NoAccent(<Initial String>)
<Result>: Character string
Character string in which all the accented characters have been replaced by non-accented characters.
<Initial String>: Character string (with quotes)
Initial character string.
Remarks

NoAccent and UNICODE

If the string passed in parameter is in ANSI format, the result will be in ANSI format.
If the string passed in parameter is in UNICODE format, the result will be in UNICODE format.
Note: If the result on an ANSI string is assigned to a UNICODE string (and conversely), the conversion will be implicitly performed.
See Managing the UNICODE format for more details.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
WEBDEV - Browser code WDJS.DLL
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Exemplo Sem Acento
SAI_endereco_local_cliente_copias = remove_acento(SAI_endereco_local_cliente_copias)

//------

PROCEDURE remove_acento(texto)
texto = NoAccent(texto)

texto = Replace(texto,"xE1","a")
texto = Replace(texto,"xE3","a")
texto = Replace(texto,"xEA","e")
texto = Replace(texto,"xE9","e")
.
.
texto=Replace(texto,"Ü","U")
RESULT(texto)

//No blog fiz um exemplo com video sobre sem acento
// No blog tem a rotina completa sem acento

http://windevdesenvolvimento.blogspot.com.br/2016/01/windev21-curso-223-remover-acentos.html
De matos AMARILDO
Jan. 13 2016
Exemplo NoAccent
cidade is string=Upper(NoAccent(_NOME_CIDADE))
cidade is string=Upper(NoAccent("novo hamburgo"))

// Blog Com Video
http://windevdesenvolvimento.blogspot.com.br/2016/01/windev21-curso-218-upper-maisculo.html
De matos AMARILDO
Jan. 09 2016