Connect HomeMarketplaceComponentsString Sequence Finder

String Sequence Finder

Snippet

Snippet

Updated: September 23rd, 2020

Published: October 8th, 2018

Downloads: 63

Process: 

Language compatibility: Visual Basic

Community Support

String Sequence Finder

Snippet

Summary: 

Find Sequence in String and Compare Against Array


Details

Benefits

Being able to find a particular sequence within a string. 
For example, if you want to find the sequence EUR in a string such as Example Fuel EUR-A then it will search the string looking for two special characters separated by three characters and check that result against a dictionary. Things like The European Fuel Company will return false as it does not find the special characters to the right and left of EUR but The European Fuel Company EUR-A will return true. 
This helps if you're trying to find multiple different sequences as you can house the different values in the dictionary so that the code can find something like Example Fuel EUR-A and Example Fuel USD-A since both EUR and USD are currency codes in array that get put in the dictionary. These are just examples so that it is easier to follow, you can switch it to anything.

Compatibility

2018.2.3 and above, have not tested below

Dependencies

Microsoft Activities

Licensing

By clicking download you agree to the following license.