Monday, 18 July 2016

How to get length of string in Microsoft Dynamics Navision.

For getting the length of string in NAV we use STRLEN() function write following code in code unit under ‘On Run’ trigger and then  run it.

MESSAGE(format(STRLEN('Hello-Guys')));

Note: here we also use FORMAT() function because we STRLEN() function gives integer value so we convert it to string and the display it.

OUTPUT:


0 comments:

Post a Comment

Thanks for comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Toggle Footer