F
filo666
I have something to do a kind of difficult:
I have a document with a format like:
Basket: tre (in italic)., sd (bold)., hg(normal)., more words that I dont care
red: tre (bold)., more words that I dont care., sd (norma).,
and so on
what I want is that if the basket paragraph contains tre in italic then
var1=1, if tre is in bold, then var1=2 and if its normal then var1=3; I also
want to do the same with sd and hg, how to accomplish this (it could be the
case that tre is not on the list, and also that the 3 of them are not in the
list)
TIA
I have a document with a format like:
Basket: tre (in italic)., sd (bold)., hg(normal)., more words that I dont care
red: tre (bold)., more words that I dont care., sd (norma).,
and so on
what I want is that if the basket paragraph contains tre in italic then
var1=1, if tre is in bold, then var1=2 and if its normal then var1=3; I also
want to do the same with sd and hg, how to accomplish this (it could be the
case that tre is not on the list, and also that the 3 of them are not in the
list)
TIA