23 Mar 2010
Updated: 24 Mar 2010
Rating: 4.50/5
Votes: 4
Popularity: 2.71
Licence: CPOL
Views: 7,320
Bookmarked: 4
Downloaded: 0
There are cases where we want to ensure that the filename entered by the user has a valid extension of your choice, say .XLS, .ZIP. Sometimes user may not enter extension, or may enter wrong extension like .XLA, .ZIL. In such cases, here is a simple tip where we need not check how user enters...
|