RosettaCodeData/Task/Substring/EasyLang/substring.easy

4 lines
70 B
Plaintext

a$ = "2019-05-22 22:54:22"
print substr a$ 12 5
print substr a$ 12 -1