Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 16th, 2018
116
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Lua
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
string1
=
"xyz"
val
=
string.len
(
string1
)
print
(
val
)
local
table1
=
{
}
local
table2
=
{
table1
}
for
i where i
=
1
,
val
do
table2
[
1
]
[
i
]
=
string.sub
(
string1
,
i
,
i
)
end
print
(
table2
[
1
]
[
2
]
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
ДЗ Программа под паролем
C# | 19 min ago | 1.23 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 50 min ago | 0.39 KB
Arduino Bluetooth rev_01
Arduino | 55 min ago | 1.37 KB
task_3_v2
Python | 58 min ago | 6.82 KB
task_5_v2
Python | 59 min ago | 6.46 KB
_compile_scene.py WIP
Python | 1 hour ago | 12.55 KB
Mark published as the default landing tab for...
PHP | 1 hour ago | 0.16 KB
Task 3
Python | 1 hour ago | 0.41 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!