String variable


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


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


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


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.


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