I have a dynamic value let say
var x= "123456789"; now I want to apply the bold css property to last three no i.e 789 in above string. I tried by breaking the string to array, I was successful to some extent but then I struck on how should I show remaining no i.e unchanged part i.e. 123456.
Please guide me how can I approach to this or what's the best solution for this.
Output should be like 123456789. This string can be dynamic.