| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Question |
G'day Jasen 16 Sep 04 08:12, Jasen Betts wrote to David Drummond: DD>> Can anyone suggest a simple one line that determines if a variable DD>> contains alpha/numeric data, or a straight numeric value? JB> some sort of regex ? JB> first you need to define "straight numeric" a byte value (unsigned short int?) ... 0:255. JB> does 2.2 qualify ? how about is 1e5 ? 0xdeadbeef ? 0800 ? 3-1/2 ? nope. I've been offered a regex - but couldn't get it to work. I cobbled up something else. Regards, David --- Msged/LNX TE 06 (pre)* Origin: Fighting for peace is like screwing for virginity. (3:640/305) SEEN-BY: 633/267 270 @PATH: 640/305 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.