$input =~ s/^(.+)$/"$1"/;

Don't use it. This is too trouble to doing this way.
Just want to tell, this is also a method =)

Rgds,
Connie





----- Original Message ----- 
From: "Henk van Ess" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 07, 2002 5:12 PM
Subject: How to add " "


> 
>  I've got a beginnersquestion. How do I add a " before and a " after
>  any given user-input? I want to make a phrase out of the user-input.
> 
>  Example:
> 
>  userinput:
> 
>  walking in mountains
> 
>  output should be:
> 
>  "walking in mountains"
> 
>  So basically, I want to change
> 
>  userinput
> 
>  into
> 
>  "userinput"
>  
>  Any help?
>   
> 
> -- 
> Best regards,
>  Henk                          mailto:[EMAIL PROTECTED]
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to