How to convert A0058 value to 9958 in progress 4gl [duplicate]
问题 This question already has answers here : How to convert A00073 value to 9973 in progress 4gl (5 answers) Closed 2 years ago . i have column having multiple value like A0045 ,A00065 . i want to convert it 9945, 9965. Need to remove all 0 and character value and add 99 before that value.. replace(val,"A","99") will replace only A I want to go for A-Z occurrence.. Any char should be convert .. Please help 回答1: How about newValue = "99" + LEFT-TRIM( oldValue, "ABCDEFGHIJKLMNOPQRSTUVWXYZ0" ). This