Computer Science Canada How to get a number with spaces in between as a integer instead of a string |
Author: | pinkbob [ Fri Oct 19, 2007 4:37 pm ] |
Post subject: | How to get a number with spaces in between as a integer instead of a string |
I tried var number : string := "123 309 358" var value : int := strint(number) but it doesn't work because there are spaces in between the string. thanks. |
Author: | HeavenAgain [ Fri Oct 19, 2007 5:04 pm ] | ||
Post subject: | RE:How to get a number with spaces in between as a integer instead of a string | ||
![]() |
Author: | Clayton [ Fri Oct 19, 2007 5:12 pm ] | ||
Post subject: | RE:How to get a number with spaces in between as a integer instead of a string | ||
There is! Make that a function that you can use over and over again ![]()
|
Author: | pinkbob [ Fri Oct 19, 2007 5:15 pm ] |
Post subject: | RE:How to get a number with spaces in between as a integer instead of a string |
thanks for the help, really appreciate it! |