Hi,
I'm very sorry for bothering you with such simple thing.
But it seems I could not find a way between three trees.
I have a variable which contains some text, I need to know the number of some chars in this text.
For ex., var="abc lalala new xyz new". I need to know the number of "new" chars in this variable.
Does any variable in awk exist which contain the number of matchs?
Thank you in advance.
Anta
I'm very sorry for bothering you with such simple thing.
But it seems I could not find a way between three trees.
I have a variable which contains some text, I need to know the number of some chars in this text.
For ex., var="abc lalala new xyz new". I need to know the number of "new" chars in this variable.
Does any variable in awk exist which contain the number of matchs?
Thank you in advance.
Anta