要点:
数据分割
数据集成
stringId='DMDM_SUM_FACT_PATTERN_CHANLLAGE_POC_MQT'
print stringId.capitalize()
stringList = stringId.split('_')
stringListAfter= []
for x in stringList:
stringListAfter.append(x.capitalize())
print '_'.join(stringListAfter)
要点:
数据分割
数据集成
stringId='DMDM_SUM_FACT_PATTERN_CHANLLAGE_POC_MQT'
print stringId.capitalize()
stringList = stringId.split('_')
stringListAfter= []
for x in stringList:
stringListAfter.append(x.capitalize())
print '_'.join(stringListAfter)