String Comparison

vipinkuruvillavipinkuruvilla Member Posts: 143
Hai,

Can anyone tell me how I can compare two strings in Navision? If the two strings are equal then I will have to perform a set of codes.

Kindly advice......


Thanx in advance.....

Comments

  • AlbertvhAlbertvh Member Posts: 516
    Hi,

    you could do the following
    IF String1 = String2 THEN
      do myset of coding
    ELSE
      Do something else;
    
    
    OR
    
    IF UPPERCASE(String1) = UPPERCASE(String2) THEN
      do myset of codeing;
    
    

    Hope this helps

    Albert
  • vipinkuruvillavipinkuruvilla Member Posts: 143
    Albertvh wrote:
    Hi,

    you could do the following
    IF String1 = String2 THEN
      do myset of coding
    ELSE
      Do something else;
    
    
    OR
    
    IF UPPERCASE(String1) = UPPERCASE(String2) THEN
      do myset of codeing;
    
    

    Hope this helps

    Albert


    Thanx a lot....Let me check whether this helps me out......
Sign In or Register to comment.