blank spaces in a variable in perl

blank spaces in a variable in perl

am 18.08.2006 17:45:29 von ogomez

Hi everybody

we have a variable made with four blank spaces but when try to read it just
take one single blank space. what we can do about this concern. how we can
read a variable like that.
if you consider that this matter is not part of the topics you handle I would
appreciate you suggest us where to find and answer to our request.

thanks a lot
--
Open WebMail Project (http://openwebmail.org)

Re: blank spaces in a variable in perl

am 18.08.2006 18:11:24 von jeff

The topic of this list is DBI, the perl database interface. Questions
not related to that module do not belong on this list. Try
http://www.perlmonks.org/ or news://comp.lang.perl.misc and give some
sample code so people can figure out what you are talking about. Is
this perhaps for the web? If so, browsers reduce multiple whitespaces to
one, so you need to use   instead.

--
Jeff

Oscar Gomez wrote:
> Hi everybody
>
> we have a variable made with four blank spaces but when try to read it just
> take one single blank space. what we can do about this concern. how we can
> read a variable like that.
> if you consider that this matter is not part of the topics you handle I would
> appreciate you suggest us where to find and answer to our request.
>
> thanks a lot
> --
> Open WebMail Project (http://openwebmail.org)
>
>
>
>

Re: blank spaces in a variable in perl

am 19.08.2006 00:50:57 von ron

On Fri, 18 Aug 2006 10:45:29 -0500, Oscar Gomez wrote:

Hi Oscar

> we have a variable made with four blank spaces but when try to read
> it just take one single blank space. what we can do about this

We need more info:

Tell us your database vendor's name.

Tell us if the column type for this variable is char, varchar2, or=
somethinge
else.

--
Cheers
Ron Savage, ron@savage.net.au on 19/08/2006
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company