Example of using SpannableString for Android.  This shows three examples of SpannableString using the start and end points based on the position of the substring in the string with String.contains(subString).  Examples one and two provide greater design options.  Example three takes an ArrayList of strings as well as the string and sets the substrings of the SpannableString accordingly.