Difference b/W find and search functions in Appian

Can any one explain what is the exact difference b/w search and find functions in Appian with one use case.

 

Thanks,
Sindhu

 

  Discussion posts and replies are publicly visible

Parents
  • HI Sindhu,

    find() fuction returns index location of case-sensitive substring with given string. Returns the one-based location index of the first character of the first match

    Ex: find("to","boston",1) returns 4

    search() function searches the text for a particular substring, returning the positional index of the first character of the first match

    Ex:find("to","boston",1) returns 1
    note:The first character of the entire within_text value is considered to have an index = 1


    Thanks and regards,
    Vinod S N
Reply
  • HI Sindhu,

    find() fuction returns index location of case-sensitive substring with given string. Returns the one-based location index of the first character of the first match

    Ex: find("to","boston",1) returns 4

    search() function searches the text for a particular substring, returning the positional index of the first character of the first match

    Ex:find("to","boston",1) returns 1
    note:The first character of the entire within_text value is considered to have an index = 1


    Thanks and regards,
    Vinod S N
Children