Forum Discussion

natshuvens's avatar
natshuvens
New Contributor
3 years ago

Business rule to work like the Left and Find formulas in Excel

My source file has a column that contains both, account name and account description. The account names are either 4, 6, or 7 characters and there is a dash (-) in between the name and description (s...
  • EricOsmanski's avatar
    3 years ago

    Dim fields as List(Of String) = StringHelper.SplitString(args.Value, "-", StageConstants.ParserDefaults.DefaultQuoteCharacter)

    Return fields(0).Trim