• Not Answered

Is there a way to determine if a string contains a specific character?

I am pulling in a string of text and I want to be able to determine the number of characters in the string, as well as if the string contains specific characters (like "@").  Is there a way to do this?

1 Reply

  • Depends where you are doing this.

    In the controller, the expression functions for strings are limited and not intended for elaborate string manipulation. BOL discusses examples such as concatenation, conversion and assignment. There are several specific time related string functions and the Select String function. That is about it.

    If you bring this up to the Operator station, you can use a VBA function to parse the string and find characters, string length, character position, etc.

    Andre Dicaire