Usina BRAdvPL Guide
Sign in
← All topics
FUNCTIONUnder review

FwNoAccent

FwNoAccent([cString]) --> cString

Removes accents from a string.

FwNoAccentAdvPL
01 · OVERVIEW

Overview

Returns unaccented text under the function implementation. Different names can collapse to the same key, so do not replace unique identifiers or original names without a rule. This example compares a simple word with prepared literal/source encoding. It promises neither universal Unicode normalization nor transliteration of every alphabet. (Sources: refs. 1–1.)

02 · SYNTAX

Syntax

FwNoAccent([cString]) --> cString

Parameters

cString
CharacterOptional

Text to convert; page defaults to empty.

Return value

Unaccented string.

03 · PRACTICAL EXAMPLE

Commented example

#Include "Protheus.ch"

User Function Ed440()
    // Check source encoding before compiling the literal.
    ConOut(FwNoAccent("café"))
Return Nil
Expected result

Expected text: cafe. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

BEST PRACTICES
  • Check context and return before integration; the example does not replace a complete routine.
  • Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Related content

REFERENCES
  1. TOTVS. FwNoAccent. TDN. Accessed on 2026-10-27.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR
0 approved comment(s)

Comments

There are no approved comments yet.

Sign in with Google or Microsoft to comment.

Powered by Usina Docs · Alpha