Home > database >  The meaning of these functions on behalf of Pb?
The meaning of these functions on behalf of Pb?

Time:10-08



Mid, take a string a specified part of the
Right, take the string on the right part of the specified digits
String, the data is converted to a string type
Integer, the data is converted to an integer type
Trim, removes white Spaces at the head and tail of the string section

CodePudding user response:

Wow, female doll do code is rare

CodePudding user response:

This is to ask questions or scattered points?

CodePudding user response:

Haven't explain clearly? Is there anything else to ask?

CodePudding user response:

Mid, take a string a specified part of the sample:
String ls_abc, ls_result
Ls_abc="ABC"
Ls_result=mid (ls_abc, 1, 2)
Ls_result got is ab, take a part of parameter values, from which began to take a few,

Right, take the string on the right part of the specified digits
String ls_abc, ls_result
Ls_abc="ABC"
Ls_result=right (ls_abc, 1)
Ls_result got is c

String, the data is converted to a string type
Int li_number
String ls_result
Li_number=100
Ls_result=string (li_number)
Ls_result string is 100,

Integer, the data is converted to an integer type
String ls_number
Int li_result
Ls_number="100"
Li_result=integer (li_number)
Li_result is number 100,

Trim, removes white Spaces at the head and tail of the string section

String ls_abc
String ls_result
Ls_abc="ABC"
Ls_result=trim (ls_abc)
The Spaces before and after the ABC is gone,

CodePudding user response:

Ask yourself the answer? The score?

CodePudding user response:

Own answer, scores themselves received bai

CodePudding user response:

Scatter to me the original poster
  • Related