UIFlow Guide
How to use string functions
from m5stack import *
from m5ui import *
from uiflow import *
import binascii
string = None
date = None
string = 'hello world'
print(string.upper())
print('hello')
print(string[0])
print(string.count('o'))
print(not len(string))
print(len(string))
print(string.replace('e', 'w'))
print(' m5stack '.strip())
print('hello world'.strip('h'))
print(str(2500))
print((str('Hi! ') + str(string)))
date = binascii.hexlify('hello').decode()
print(date.encode())
print((binascii.unhexlify(date)).decode())
print("%.0f"%float(date))
string = 'helloworld'
print(string.upper())
print(string.upper())
print(string[0])
print(string.count('o'))
print(not len(string))
print(len(string))
print(str(2500))
print((binascii.unhexlify(date)).decode())
print(date.encode())
date = binascii.hexlify('hello').decode()
print((binascii.unhexlify(date)).decode())
print("%.0f"%float(date))
print('')
print(string.replace('e', 'w'))
print(' m5stack '.strip())
print('hello world'.strip('h'))
print('hello')