Jump to content

Finding prefix of a string


JotaPey

Recommended Posts

I have a DTI in which I want to search a column for a string with a specific prefix.  The column contains strings of 25 characters each with a unique 3 letter prefix.  How can I perform a search returning a match for a given  prefix?  In other words, I want to return the  string with prefix "ABC".  Thanks in advance!

Link to comment
Share on other sites

Hi JotaPey,

have you tried the Find Substring function block?....field A the string where you want navigate; field B the substring to search; field C the starting point to search in the main string; field D the result....for this last a positive result means that the substring was found....negative result means that the primary string doesn't contain the secondary string...you can navigate in your DTI until find what you want.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...