Vous êtes sur la page 1sur 2

7/1/14 8:39 PM ALLTRIM | Aprendendo AdvPL

Page 1 of 2 http://aprendendoadvpl.wordpress.com/2008/09/17/string/#more-53
Aprendendo AdvPL
ERP Protheus
17 DE SETEMBRO DE 2008 POR LUCASBRUSTOLIN
ALLTRIM
Retorna uma string sem espaos direita e esquerda, referente ao contedo informado como
parmetro.
A funo ALLTRIM() implementa as aes das funes RTRIM(right trim) e LTRIM(left
trim).
Sintaxe - ALLTRIM(cString)
Parmetros
cString String que ser avaliada para remoo dos espaos a direta e a esquerda.
Exemplo:
1
2
3
4
5
6
7
8
# Include "Protheus.ch"
User Function TstAlltrim()

Local cString := "Teste AllTrim"

Alert(AllTrim(cString)

Return Nil
7/1/14 8:39 PM ALLTRIM | Aprendendo AdvPL
Page 2 of 2 http://aprendendoadvpl.wordpress.com/2008/09/17/string/#more-53
You May Like
1.
Esse post foi publicado em Funes. Bookmark o link permanente.
Crie um website ou blog gratuito no WordPress.com. | O tema Misty Lake.
Seguir
Seguir Aprendendo AdvPL
Tecnologia WordPress.com
About these ads (http://en.wordpress.com/about-these-ads/)

Vous aimerez peut-être aussi