Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Getting Started, Learning, Etc.

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 6th, 2022, 08:03 AM
ryanceot ryanceot is offline
Forum n00b
 
Join Date: Feb 2020
Posts: 9
Default Contains Command

I'm given fields with multiple characters where each character is used to "turn on" content within a rule. The order of the characters is random. How do I write a rule to tell FusionPro to look for a certain character within a string, ignore all other characters, and the order of the characters?

Example:
Field Name = Optional
Field String 1 = AXYD
Field String 2 = DYXA

If X is in string show content 1.
If Y is in string show content 4.

I'm already using rules that show content based on an exact string match and am looking for the flexibility to show content based on contains vs. an exact match.

Thank you for any assistance you can provide!

-Ryan
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:20 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.