<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>String contains text expression - openground admin portal</title><link>https://communities.bentley.com/products/geotechnical1/f/openground-forum/233523/string-contains-text-expression---openground-admin-portal</link><description>I am trying to create a system in the admin portal to set the default legend code with a monstrous if statement that would determine if the description contained &amp;quot;CLAY&amp;quot;, then check if it contained &amp;quot;Sandy&amp;quot; and &amp;quot;Silty&amp;quot; and &amp;quot;Gravelly&amp;quot;, etc. Is it possible</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: String contains text expression - openground admin portal</title><link>https://communities.bentley.com/thread/724756?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 22:35:33 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c73900c0-a078-49b2-b68c-9f33fe3a77e2</guid><dc:creator>Jesse Greenwald</dc:creator><description>&lt;p&gt;Hi Joshua, you can use the &lt;a href="/products/geotechnical1/w/wiki/50441/excel-functions"&gt;find() function &lt;/a&gt;in&amp;nbsp;Admin Portal to search if a string contains a substring. I believe find() is case sensitive.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a simple example:&amp;nbsp;if(find(&amp;#39;COBBLES&amp;#39;,[StratumDetails.PrimarySoilName],0)&amp;gt;=0,&amp;#39;cobbles&amp;#39;,&amp;#39;not cobbles&amp;#39;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>