Can anybody suggest a single command to strip leading zeros from a string such that 0001234 becomes 1234 and 0000321 becomes 321?
On Tuesday, September 15, 2020 at 8:33:42 PM UTC+1, Mark Deal wrote:
Can anybody suggest a single command to strip leading zeros from a string such that 0001234 becomes 1234 and 0000321 becomes 321?
I thought that Clarion will automatically convert strings to numbers / numbers to strings.
The AGE function returns a STRING value, would wrapping it in the INT() function do it for you?
Something like INT(AGE(CON:CON1_03_03,@D2))
Just wondering
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 308 |
Nodes: | 16 (2 / 14) |
Uptime: | 91:22:41 |
Calls: | 6,923 |
Calls today: | 1 |
Files: | 12,382 |
Messages: | 5,434,024 |