Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Extract int from string(Delphi)
Golden_Rus
Dec 22nd, 2015
52
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Delphi
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
extractInt
(
str
:
string
)
:
integer
;
var
tmp
:
string
;
begin
for
i
:
=
1
to
Length
(
str
)
do
if
str
[
i
]
in
[
'0'
..
'9'
]
then
tmp
:
=
tmp
+
String
(
str
[
i
]
)
;
Result
:
=
StrToInt
(
tmp
)
;
end
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
FREE BTC GUIDE
JavaScript | 1 sec ago | 0.08 KB
GMAIL Logs (2FA disabled)
JavaScript | 2 sec ago | 0.08 KB
✅ MAKE $3500 IN 15 MIN
JavaScript | 3 sec ago | 0.08 KB
Make $2500 in 15 minutes J
JavaScript | 4 sec ago | 0.08 KB
Make $2500 in 15 minutes T
JavaScript | 5 sec ago | 0.08 KB
MAKE $5000 INSTANTLY B
JavaScript | 5 sec ago | 0.08 KB
Make 3500$ in 20 MIN [Method] H
JavaScript | 6 sec ago | 0.08 KB
✅ MAKE $3500 IN 15 MIN
JavaScript | 9 sec ago | 0.08 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!