DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
substrings
s
=
' hello '
s
=
s
[
3
:
8
]
# no crash
if
s
[
3
:
20
]
#
'hello'
Source by www.python-engineer.com #
PREVIOUS
NEXT
Tagged:
#substrings
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit