ilyas


{ City } mumbai
< Country > india
* Profession * as400 developer
User No # 47341
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 14
Users Marked my Answers as Wrong # 0
Questions / { ilyas }
Questions Answers Category Views Company eMail




Answers / { ilyas }

Question { 5140 }

Let?s consider a variable X of length 20. Move value ?ABC?
to it.How to determine how many characters does X have?


Answer

Hello if You Want to Know the Characters In a Variable then
You can Use %Len With %Trim Built-in Functions
Below is the Example

D num1 S 7P 2
D chr1 S 10A inz('Toronto ')

num1 = %len(%trim(chr1));

Value of the Num1 will be 7

Is This Answer Correct ?    14 Yes 0 No