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

SubString

Substring

  • Extracts a particular string on the basis of total length and position from which string needs to be extracted. 

Properties

      Common

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

      Misc

  • Input (InArgument<String>) – The input String to be extracted.
  • Result (OutArgument<String>) – Returns the extracted string based upon the requested position and length needed.
  • Length (InArgument<Int32>) – Total length of the extracted String.
  • Private (Boolean) – If selected, the values of variables and arguments are no longer logged at Verbose level.
  • StartIndex (InArgument<Int32>) – Takes an Int32 value which denotes the starting position from which the input String needs to be extracted.

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 Substring Enter the input String, StartIndex, Length and take output in the result parameter.