I have a input text in my Customized page,how to calculate the Number of words(Not single Character)

good morning all

Answers

  • krikikriki Member, Moderator Posts: 9,096
    [Topic moved from 'Navision Attain' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • SillysodSillysod Member Posts: 4
    You could use the following to count the spaces then just add 1 to it.

    The nested DELCHR deletes all spaces from your string, this is then used to effectively delete everything that isn't a space from the string.
    STRLEN(DELCHR("Your Field",'=',DELCHR("Your Field",'=',' '))) +1
    
Sign In or Register to comment.