on 06-02-2010 1:27 PM
Hi,
I was just trying to print the output as "ABC Pvt Ltd, GBG" (including double quotes) with help of udf but couldn't succeeded.
I can get the result just by concatenating the double quotes but I was wondering if it is possible with UDF too.
Regards,
Sarvesh
use \" in Java for a quote.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to both of you! I was facing problem in printing the double quotes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> I was just trying to print the output as "ABC Pvt Ltd, GBG" (including double quotes) with help of udf but couldn't succeeded.
>
> I can get the result just by concatenating the double quotes but I was wondering if it is possible with UDF too.
>
> Regards,
> Sarvesh
did you mean the sample code for UDF?
the easiest would be
String output = "\"" + input + "\"";
return output ;
Edited by: Shabarish Vijayakumar on Jun 2, 2010 6:07 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.