python判断字符串中是否包含子字符串

python判断字符串中是否包含子字符串python

s = '1234问沃尔沃434'
if s.find('沃尔沃') != -1:
    print('存在')
else:
    print('不存在')

字符串

相关文章
相关标签/搜索