It works fine,
thanks a lot christian !

Sebastien Aucouturier , VP Engineer and Senior Technologist,




On Fri, Apr 21, 2017 at 5:49 PM, Christian Fischer <
christian.fisc...@greenbone.net> wrote:

> Hi,
>
> On 21.04.2017 17:36, Sebastien Aucouturier wrote:
> > Hi team,
> >
> > i was expecting chomp to do the job,
> > but i still get carriage return at the end of my string, when i do :
> >
> > display(chomp(mystring));
> >
> > Best regards
> >
> > Sebastien Aucouturier ,
>
> you can do something like:
>
> mystring = ereg_replace( pattern:'\r\n', replace:'', string:mystring );
>
> to clean-up your string.
>
> Regards,
>
> --
>
> Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
> Greenbone Networks GmbH | http://greenbone.net
> Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
> Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
> _______________________________________________
> Openvas-plugins mailing list
> Openvas-plugins@wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins
_______________________________________________
Openvas-plugins mailing list
Openvas-plugins@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins

Reply via email to