0

hi,

how can i select only unique string out of a series of iterating strings?
for example, i have this folder which contains number of files with quite long names.
i have used readdir() to find all the files.
assume that the name of the file has an format.
eg: "some_name_string(a_string)(a_date).html"
now when i iterate these names i want to display pages which has (a_string) value a unique one. like using DISTINCT in database,(distinct (a_string) value)
how can i d this.. i have no idea. Please help me out,
thanks in advance.

1
Contributor
1
Reply
2
Views
5 Years
Discussion Span
Last Post by Virangya
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.