-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It makes no difference here, unless you store the "'{0}, " in some
resource bundle.
Jon A. Cruz wrote:
| Joona I Palaste wrote:
|
|>> How would the following line be performed by us, in Java:
|>
|>
|>
|>> ar << " '" << label << "', "
|>
|>
|>
|>> Thanks, Ike
|>
|>
|>
|> ar.write("'"+label+", ")
|>
|
| Or it's often more appropriate to use MessageFormat. That gives you
| formatting, internationalizeation, easy changing of user-friendly text,
| etc.
|
| ar.write( MessageFormat.format( "'{0}, ", new Object[]{label} ) );
|
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://enigmail.mozdev.org
iD8DBQFAdlcAgtM42grMkd0RArHfAJ48pes5CAmZIUUMJ54mwNl9IK1I8gCeNpkK
xnfFx1Gu7IfxX6/1tx074uU=
=AVW7
-----END PGP SIGNATURE-----