FINDSTRING problem in script compoent transformation

  • Hi All,

    why I am not able to use FINDSTRING function in Script component

    I am writng a below code

    var1 = findstring(Row.PubDt, "-", 1)

    This throws an error saying findstirng is not declared.

    if I can;t use this function in script component what function I can use to find whether the string contains a character I am looking for.

    Thanks in Advance

    Regards

    -Srinath

  • How about InStr([start,] string1, string2 [, compare])

    Hope this helps,

    Chad

  • It works , Many Thanks!!!

    -Srinath

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply