divide a string into variables

i have

/tmp/dev/string1/testfile.txt

i need only testfile.txt

How can get that..can anyone helpme out

Thanx

you are not trying hard enough. you had another post like that few hours ago...

Duplicate post of:

Please read the rules.

Thread closed