This is how I would do it
Names Default To Here( 1 );
x = {"C1234_here_is_some_text", "C1235_here_is_some_other_text", "C1236_you_get_the_idea", ..., "C2000_still_dont_ends_here"};
found = "Not Found";
For( i = 1, i <= N Items( x ), i++,
If( Contains( x[i], "C1999" ) == 1,
found = x[i];
Break()
)
);
show(found);
Jim