1. Home
  2. Docs
  3. Microsoft Expressions
  4. IndexOfString

IndexOfString

Index Of String

  • Gives the index of the searched Value in the input String .

Properties

      Common

  • DisplayName (String) – The display name of the activity.

       Misc

  • Input (InArgument<String>) – The input String in which value is to be searched.
  • Result (OutArgument<Int32>) – Returns a Int32 value based on whether the input string contains the value to be searched
  • Private (Boolean) – If selected, the values of variables and arguments are no longer logged at Verbose level.
  • SearchValue (InArgument<String>) – The string value to be checked whether present in the input string
  • StartIndex (InArgument<Int32>) – The String whose index is to be found
  • IgnoreCase (Boolean) – Ignores the case-sensitivity property if checked.

Example

  • Create a new Process and then click on Manage Packages. Now search for Activities.Expressions  in search bar. Install this package and click Save.
  • Then create a Sequence and inside it call Index Of String Enter the input String and Search Value and take output in the result parameter.