I have a string and want to find a specific text inside that string and shade it using vb 2008
the string could be of varying lengths.
code example:
strComplete = "I have an apple, banana, and an orange"
'I want to shade "apple, banana"
strTextToHightlight = "apple,banana"
code here to find apple, banana and shade it
'I want strComplete to read exactly the same only "apple, banana" will be shaded. ( i will settle for bolded)
Thank you very much for your help
joe
the string could be of varying lengths.
code example:
strComplete = "I have an apple, banana, and an orange"
'I want to shade "apple, banana"
strTextToHightlight = "apple,banana"
code here to find apple, banana and shade it
'I want strComplete to read exactly the same only "apple, banana" will be shaded. ( i will settle for bolded)
Thank you very much for your help
joe