connie_tong

导航

 

# 定义查询语句
customer_id = 'PPG01243038'

#获取一个字段的前2位字符
cust_typ = customer_id[:2]

#获取一个字段前2位字符的后面所有字符
customer_id_no = customer_id[2:]

posted on 2025-01-24 14:53  connie_tong  阅读(15)  评论(0)    收藏  举报