<?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 Cell Phone validation check in QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320349#M1196972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If this is not very urgent. I can look at this tonight... Also please post some sample data for testing purpose.&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2011 17:05:28 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2011-04-11T17:05:28Z</dc:date>
    <item>
      <title>Cell Phone validation check in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320348#M1196971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using our Daily Account Extract in a new QV file I am building.&lt;/P&gt;&lt;P&gt;One thing I've done is create a bookmark based on numerous selections - this is a selection of customers I am sending a marketing message to on a monthly basis.&lt;/P&gt;&lt;P&gt;It works perfectly except for one thing I have to then do manually in excel after sending the selections to excel.&lt;/P&gt;&lt;P&gt;My selections are based on about 10 different fields. Then I send it to excel and I there I check that the customers have valid cell phone numbers.&lt;/P&gt;&lt;P&gt;In excel I do the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Cell Phone must be 15 or 16 characters.&lt;/LI&gt;&lt;LI&gt;Must start with +27(0) or +264(0).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is there any way I can do this in QV? Ideally I would like to create a new field called "Valid Number". Then, if it meets the above criteria it must be Yes, and if not it must be No. This way I can just thsi field as "Yes" to my bookmarked selection.&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;P&gt;Also, before I text the customers, I change the international format to the format our SMS interface can understand. I do this by removing the +27(0) or the +264(0). So in a new excel colum I say &lt;STRONG&gt;=right(A1,9)&lt;/STRONG&gt; - (I just need the right 9 characters of the number). then I replace the international numbers with these 9 numbers. Can I somehow do this in my script already?&lt;/P&gt;&lt;P&gt;I know this is a two-part question; help in either or both would be great!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 16:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320348#M1196971</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2011-04-11T16:35:54Z</dc:date>
    </item>
    <item>
      <title>Cell Phone validation check in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320349#M1196972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If this is not very urgent. I can look at this tonight... Also please post some sample data for testing purpose.&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 17:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320349#M1196972</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-11T17:05:28Z</dc:date>
    </item>
    <item>
      <title>Cell Phone validation check in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320350#M1196973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give it a try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;IF((LEN(PhoneNumber) = 15 OR LEN(PhoneNumber) = 16) AND (LEFT(PhoneNumber, 6) = '+27(0)' OR LEFT(PhoneNumber, 7) = '+27(0)',&lt;BR /&gt;'YES', 'NO') AS NumberIsValid&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 21:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320350#M1196973</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-04-11T21:09:38Z</dc:date>
    </item>
    <item>
      <title>Cell Phone validation check in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320351#M1196974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do very robust phone number validation in script using regular expression testing. See the &lt;A href="http://robwunderlich.com/downloads/"&gt;QV Cookbook&lt;/A&gt; example "Regular Expression pattern matching function."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 22:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-Phone-validation-check-in-QV/m-p/320351#M1196974</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-04-11T22:26:01Z</dc:date>
    </item>
  </channel>
</rss>

