How to delete unnecessary entries at a list?

Hi.

I copied the screen to a local variable and need iterate through it eliminating the entries that doesn't begin with a non numeric character.

May someone suggest a piece of code ?

Thanks a lot.
 

Dm114

Well-known member
Hi.

I copied the screen to a local variable and need iterate through it eliminating the entries that doesn't begin with a non numeric character.

May someone suggest a piece of code ?

Thanks a lot.
Regex argument for non numeric character is '\D', so you could use something like '\D.*' to identify all strings beginning with a non numeric character.
 
Regex argument for non numeric character is '\D', so you could use something like '\D.*' to identify all strings beginning with a non numeric char

Regex argument for non numeric character is '\D', so you could use something like '\D.*' to identify all strings beginning with a non numeric character.
My main doubt is how to delete the corresponding entrie inside a loop.
 

Dm114

Well-known member
I don't remember whether you want to include or exclude such items... Anyway you'll just have use '!=' instead of '=' sign.
 
I don't remember whether you want to include or exclude such items... Anyway you'll just have use '!=' instead of '=' sign.
Thanks for guidance Dm114.

I am a former COBOL programming and am familiar with IFs and ELSEs. Kkkk.

But your help I am making progress. (Slowly)

Thank very much.
 
Top