>Gracias Mario, si me funciono:
>
>REPLACE rubro WITH SUBSTR(RUBRO,2,LEN(ALLTRIM(RUBRO))) ALL
>
>Saludos
Está bien, pero puedes omitir el tercer parámetro, ya que por default toma el resto del string. Así, se simplifica un poco:
REPLACE rubro WITH SUBSTR(RUBRO,2)) ALL
De la ayuda:
nCharactersReturned
Specifies the number of characters to return from cExpression. If you omit nCharactersReturned, characters are returned until the end of the character expression is reached.
Saludos,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)