Do not reinvent TextUtils

Change-Id: I86aff88714c49bafc5e5191b33a965d2a3cc2fa7