Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

charAt in Python

givenString = "HELLO PYTHON"  
charVariable = givenString[1] #This is the syntax to access a character from the givenString
print(charVariable) #Prints the character
Source by javahungry.blogspot.com #
 
PREVIOUS NEXT
Tagged: #charAt #Python
ADD COMMENT
Topic
Name
6+2 =