Search
 
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
Name
8+5 =