I am following this example in using `SpannableString`:
<http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/text/Link.html>

I am trying to create a string which has 'R.string.text1' following by R.string.text2 but R.string.text2 (has 10 characters) in URL format:

```
SpannableString ss = new SpannableString(getString(R.string.text1));
ss.setSpan(new URLSpan(getString(R.string.text2)), 0, 10, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);

```

But what I am getting is

1. I don't see the string R.string.text2 at all
2. and only the first 10 characters is in URL format

How can I fix my problem?