<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Case sensitive query task in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257530#M6078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it's just the one name you're worried about you could do this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var qName:String = qTextFname.text.toLowerCase();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var len:int = qName.length;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var ucase:String = qName.charAt(0).toUpperCase();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var temp:String = qName.substr(1, len);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var newName:String = ucase + temp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AS3 doesn't have a simple capitalize function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OOh, found a regex method to do it for multiple words&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/860394/flex-capitalize-words-in-string"&gt;http://stackoverflow.com/questions/860394/flex-capitalize-words-in-string&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 16:07:16 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2011-01-27T16:07:16Z</dc:date>
    <item>
      <title>Case sensitive query task</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257529#M6077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have query task to seach first name however users have to type first letter as upper case just like value in the attribute table. For example, they have to type like 'John' not 'john'. Is there way that users can type either upper or lower case?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:Query id="queryFname" text="%{qTextFname.text}%" where="FName like '%{qTextFname.text}%'"&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 15:48:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257529#M6077</guid>
      <dc:creator>MikeJun</dc:creator>
      <dc:date>2011-01-27T15:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive query task</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257530#M6078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it's just the one name you're worried about you could do this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var qName:String = qTextFname.text.toLowerCase();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var len:int = qName.length;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var ucase:String = qName.charAt(0).toUpperCase();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var temp:String = qName.substr(1, len);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var newName:String = ucase + temp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AS3 doesn't have a simple capitalize function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OOh, found a regex method to do it for multiple words&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/860394/flex-capitalize-words-in-string"&gt;http://stackoverflow.com/questions/860394/flex-capitalize-words-in-string&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 16:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257530#M6078</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2011-01-27T16:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive query task</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257531#M6079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you want to do it all inline in the mxml then this works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;esri:Query id="queryFname" where="Upper(FName) like Upper('%{qTextFname.text}%')"&amp;gt; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should not use text="something" and where="something" at the same time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 16:40:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257531#M6079</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-01-27T16:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive query task</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257532#M6080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rene, thanks for the quick response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert, thanks a lot again. simple and work great as usual.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 17:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/case-sensitive-query-task/m-p/257532#M6080</guid>
      <dc:creator>MikeJun</dc:creator>
      <dc:date>2011-01-27T17:55:02Z</dc:date>
    </item>
  </channel>
</rss>

