Saturday, October 31, 2009

[android-developers] Re: Double quotes in resources?

On Oct 31, 11:40 pm, "Mark Murphy" <mmur...@commonsware.com> wrote:
> > Is this a bug or a feature? I don't see the purpose..
>
> I think it's documented somewhere. I remember it from my one book, and I
> doubt I just made it up. ;-)
>
> So, I vote "feature".

Found it on http://developer.android.com/guide/topics/resources/available-resources.html:

<quote>If you use an apostrophe or a quote in your string, you must
either escape it or enclose the whole string in the other kind of
enclosing quotes</quote>

Does not give a reason though.

Thanks again,
Markus

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment