Por exemplo, tenhu o seguinte texto, ou o produto:
CAMISA AMARALELA COM BORDADO E GOLA BRANCA P
como, separar esse texto em 3 partes??? assim:
CAMISA AMARALELA
COM BORDADO E
GOLA BRANCA P
sendo que separa:
1º pelo 16º caractere
2º pelo 29º caractere
3º é o resto.
como fazer, desde ja agradeço!

Separando Strings
Started By Totodile, 27/05/2005, 22:00
1 reply to this topic
#1
Posted 27/05/2005, 22:00
#2
Posted 30/05/2005, 20:09
1º pelo 16º caractere - copy(stringx,1,16)
2º pelo 29º caractere - copy(stringx,17,29-17)
3º é o resto. - copy(stringx,30,length(stringx))
2º pelo 29º caractere - copy(stringx,17,29-17)
3º é o resto. - copy(stringx,30,length(stringx))
PROTEUS [ADSUMUS]
ETERNAL ########
---------------------------------------------------------------
"Já dizia o mestre: PROGRAMAR é diferente de CODIFICAR"...
ETERNAL ########
---------------------------------------------------------------
"Já dizia o mestre: PROGRAMAR é diferente de CODIFICAR"...
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)