myString=“Python-3.8.6”
print(myString[indexNumber]) will give a character for a given indexNumber
Slicing:
Syntax for slicing is:
myString[start_index:End_Index:step]
myString[start_index:]
myString[:End_Index]
myString[start_index::step]
myString[:End_Index:step]
myString[::]
myString[::1]
myString[::-1]
myString[::2]
myString[::-2]
On this page of the site you can watch the video online Python Scripting | Index and Slicing of Python Strings | Video-25 with a duration of hours minute second in good quality, which was uploaded by the user VRTechnologies For Automation 02 November 2020, share the link with friends and acquaintances, this video has already been watched 276 times on youtube and it was liked by 7 viewers. Enjoy your viewing!