Re: \u000d problems
Re: \u000d problems
- Subject: Re: \u000d problems
- From: Ricardo Strausz <email@hidden>
- Date: Mon, 18 Aug 2003 13:43:45 -0500
I use the new line code '\n' to that...
why it does not function for you?
On lunes, agos 18, 2003, at 10:48 America/Mexico_City, Nathan Dumar
wrote:
Hello all,
I'm trying to encode a carriage return into a string, but cannot
figure out how. When I put the unicode number for it, it is
interpreted as a carriage return instead of as a character to add to
the string. For example:
aStringBuffer.append("\u000d");
or
String cr = new String("\u000d");
get errors for an unclosed string literal and ")" expected. How do I
get a carriage return character into a string variable? or is it not
possible for the type String to include that character?
(If you're curious, it's for a text output to a WOText, which will be
used in a word processor mail merge for labels.)
Thanks,
Nathan
email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.