\u000d problems
\u000d problems
- Subject: \u000d problems
- From: Nathan Dumar <email@hidden>
- Date: Mon, 18 Aug 2003 11:48:00 -0400
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.