String variable


#1

Hi,
how much character data that we can store in string variable please reply!!!


#2

@jyoti_rupanwar
2.2 billion characters (the maximum size of the String Java type).


#3

can we store the new line character i.e \n in string varible?


#4

Try it ;), but I think you can do it.

I have a script where i join variables using /n as separator and it works fine for me.


#5

really thats surprising as we did the same but the \n was not successful as separator in join strng. Let me check again