I don't know how i can say "start from first space before the value" or "Closest space before the word". my code like (linux bash awk):
data= "your website is the best website"
value = "t w"
when i used this code to print the line from value to end of line:
if ( index($0, value))
print substr($0, index($0,value))
the result was:
t website
please i want to print it like:
best website
to print from the word which containt first letter?