finding partial string within array

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

finding partial string within array

French, Shelane
Lasso 8.6

Our hiring department is providing resume files for my system. They have
constructed the filename to be:
applicantID_jobID_dateofapplication_filename

My database has the applicant ID, job ID, and date of application. They
push the files to my server where they are in the same group as lasso and
I have set up permissions for that directory. That is all testing and
working. I can get an array of file names by doing:

var('files' = File_ListDirectory('///var/www/webfiles/candidates/lhire'));

There are currently 1995 files, but this will grow.

Is there an easy way to search for a file within the array that "Begins
with the applicantID?" Since I only have 3 pieces of the full file name, I
can't just do a find in the array or a contains check. I'm sure there is
some simple approach that I am just not thinking of.


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Peter D Bethke
Hi shelly,

Is the applicant ID, or Job ID a fixed length? Is the date in MySQL format?

Peter

> On Jan 15, 2015, at 3:16 PM, French, Shelane <[hidden email]> wrote:
>
> Lasso 8.6
>
> Our hiring department is providing resume files for my system. They have
> constructed the filename to be:
> applicantID_jobID_dateofapplication_filename
>
> My database has the applicant ID, job ID, and date of application. They
> push the files to my server where they are in the same group as lasso and
> I have set up permissions for that directory. That is all testing and
> working. I can get an array of file names by doing:
>
> var('files' = File_ListDirectory('///var/www/webfiles/candidates/lhire'));
>
> There are currently 1995 files, but this will grow.
>
> Is there an easy way to search for a file within the array that "Begins
> with the applicantID?" Since I only have 3 pieces of the full file name, I
> can't just do a find in the array or a contains check. I'm sure there is
> some simple approach that I am just not thinking of.
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Peter D Bethke
My thought being, if you knew they were fixed length, you could split them based on length into 3 parts, and then search the individual parts.

Its easier if the dates are MySQL type, because that’s always a fixed length, i.e. 01-15-2015 being 10 digits. US notation can either be like 1/15/15, or 01/15/2015 etc - which can be extremely frustrating because the digits can be 1 or 2 characters, depending on whether they append a “0” to single digit values, in which case you need to use a lasso’s date format tag or a string split with “/“ as a delimiter.

Peter



> On Jan 15, 2015, at 3:34 PM, Peter D Bethke <[hidden email]> wrote:
>
> Hi shelly,
>
> Is the applicant ID, or Job ID a fixed length? Is the date in MySQL format?
>
> Peter
>
>> On Jan 15, 2015, at 3:16 PM, French, Shelane <[hidden email]> wrote:
>>
>> Lasso 8.6
>>
>> Our hiring department is providing resume files for my system. They have
>> constructed the filename to be:
>> applicantID_jobID_dateofapplication_filename
>>
>> My database has the applicant ID, job ID, and date of application. They
>> push the files to my server where they are in the same group as lasso and
>> I have set up permissions for that directory. That is all testing and
>> working. I can get an array of file names by doing:
>>
>> var('files' = File_ListDirectory('///var/www/webfiles/candidates/lhire'));
>>
>> There are currently 1995 files, but this will grow.
>>
>> Is there an easy way to search for a file within the array that "Begins
>> with the applicantID?" Since I only have 3 pieces of the full file name, I
>> can't just do a find in the array or a contains check. I'm sure there is
>> some simple approach that I am just not thinking of.
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

French, Shelane
Yes, it's in MySQL date format. No, the first two aren't fixed links. But
if we are talking about splitting, I can split on the underscore. However,
that's to the individual files that are already in the array.

What I need to do if upload the file to the database if the applicant has
one. So I have to search based on the applicant ID, job ID, and
application date. The rest is irrelevant for searching and only useful
when I need to do a read of the file I found.

On 1/15/15, 1:01 PM, "Peter D Bethke" <[hidden email]> wrote:

My thought being, if you knew they were fixed length, you could split them
based on length into 3 parts, and then search the individual parts.

Its easier if the dates are MySQL type, because that’s always a fixed
length, i.e. 01-15-2015 being 10 digits. US notation can either be like
1/15/15, or 01/15/2015 etc - which can be extremely frustrating because
the digits can be 1 or 2 characters, depending on whether they append a
“0” to single digit values, in which case you need to use a lasso’s date
format tag or a string split with “/“ as a delimiter.

Peter



> On Jan 15, 2015, at 3:34 PM, Peter D Bethke <[hidden email]>
>wrote:
>
> Hi shelly,
>
> Is the applicant ID, or Job ID a fixed length? Is the date in MySQL
>format?
>
> Peter
>
>> On Jan 15, 2015, at 3:16 PM, French, Shelane <[hidden email]> wrote:
>>
>> Lasso 8.6
>>
>> Our hiring department is providing resume files for my system. They have
>> constructed the filename to be:
>> applicantID_jobID_dateofapplication_filename
>>
>> My database has the applicant ID, job ID, and date of application. They
>> push the files to my server where they are in the same group as lasso
>>and
>> I have set up permissions for that directory. That is all testing and
>> working. I can get an array of file names by doing:
>>
>> var('files' =
>>File_ListDirectory('///var/www/webfiles/candidates/lhire'));
>>
>> There are currently 1995 files, but this will grow.
>>
>> Is there an easy way to search for a file within the array that "Begins
>> with the applicantID?" Since I only have 3 pieces of the full file
>>name, I
>> can't just do a find in the array or a contains check. I'm sure there is
>> some simple approach that I am just not thinking of.
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Marc Vos-3
In reply to this post by French, Shelane
You could use os_process with grep ?

- -
Marc


> Op 15 jan. 2015 om 21:16 heeft "French, Shelane" <[hidden email]> het volgende geschreven:
>
> Lasso 8.6
>
> Our hiring department is providing resume files for my system. They have
> constructed the filename to be:
> applicantID_jobID_dateofapplication_filename
>
> My database has the applicant ID, job ID, and date of application. They
> push the files to my server where they are in the same group as lasso and
> I have set up permissions for that directory. That is all testing and
> working. I can get an array of file names by doing:
>
> var('files' = File_ListDirectory('///var/www/webfiles/candidates/lhire'));
>
> There are currently 1995 files, but this will grow.
>
> Is there an easy way to search for a file within the array that "Begins
> with the applicantID?" Since I only have 3 pieces of the full file name, I
> can't just do a find in the array or a contains check. I'm sure there is
> some simple approach that I am just not thinking of.
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Tim Taplin
In reply to this post by French, Shelane
I think that you could use a custom matcher in your Array->find to retrieve the filename(s) which match your info.

I haven't used matchers much but recall working it out once before. I found reference material in the Lasso 8.5 Language Guide on pages 388 and 420

this should allow you to create a matcher which could be a regex looking for your concatenation of the data you have and should return just the one filename.

Hope that's a pointer that's useful.

Tim Taplin

> On Jan 15, 2015, at 2:09 PM, French, Shelane <[hidden email]> wrote:
>
> Yes, it's in MySQL date format. No, the first two aren't fixed links. But
> if we are talking about splitting, I can split on the underscore. However,
> that's to the individual files that are already in the array.
>
> What I need to do if upload the file to the database if the applicant has
> one. So I have to search based on the applicant ID, job ID, and
> application date. The rest is irrelevant for searching and only useful
> when I need to do a read of the file I found.
>
> On 1/15/15, 1:01 PM, "Peter D Bethke" <[hidden email]> wrote:
>
> My thought being, if you knew they were fixed length, you could split them
> based on length into 3 parts, and then search the individual parts.
>
> Its easier if the dates are MySQL type, because that’s always a fixed
> length, i.e. 01-15-2015 being 10 digits. US notation can either be like
> 1/15/15, or 01/15/2015 etc - which can be extremely frustrating because
> the digits can be 1 or 2 characters, depending on whether they append a
> “0” to single digit values, in which case you need to use a lasso’s date
> format tag or a string split with “/“ as a delimiter.
>
> Peter
>
>
>
>> On Jan 15, 2015, at 3:34 PM, Peter D Bethke <[hidden email]>
>> wrote:
>>
>> Hi shelly,
>>
>> Is the applicant ID, or Job ID a fixed length? Is the date in MySQL
>> format?
>>
>> Peter
>>
>>> On Jan 15, 2015, at 3:16 PM, French, Shelane <[hidden email]> wrote:
>>>
>>> Lasso 8.6
>>>
>>> Our hiring department is providing resume files for my system. They have
>>> constructed the filename to be:
>>> applicantID_jobID_dateofapplication_filename
>>>
>>> My database has the applicant ID, job ID, and date of application. They
>>> push the files to my server where they are in the same group as lasso
>>> and
>>> I have set up permissions for that directory. That is all testing and
>>> working. I can get an array of file names by doing:
>>>
>>> var('files' =
>>> File_ListDirectory('///var/www/webfiles/candidates/lhire'));
>>>
>>> There are currently 1995 files, but this will grow.
>>>
>>> Is there an easy way to search for a file within the array that "Begins
>>> with the applicantID?" Since I only have 3 pieces of the full file
>>> name, I
>>> can't just do a find in the array or a contains check. I'm sure there is
>>> some simple approach that I am just not thinking of.
>>>
>>>
>>> #############################################################
>>>
>>> This message is sent to you because you are subscribed to
>>> the mailing list Lasso [hidden email]
>>> Official list archives available at http://www.lassotalk.com
>>> To unsubscribe, E-mail to: <[hidden email]>
>>> Send administrative queries to  <[hidden email]>
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

stevepiercy
In reply to this post by French, Shelane
On 1/15/15 at 8:16 PM, [hidden email] (French, Shelane) pronounced:

>Lasso 8.6
>
>Our hiring department is providing resume files for my system. They have
>constructed the filename to be:
>applicantID_jobID_dateofapplication_filename
>
>My database has the applicant ID, job ID, and date of application. They
>push the files to my server where they are in the same group as lasso and
>I have set up permissions for that directory. That is all testing and
>working. I can get an array of file names by doing:
>
>var('files' = File_ListDirectory('///var/www/webfiles/candidates/lhire'));
>
>There are currently 1995 files, but this will grow.

Depending on the file system, there could be a problem.  Check
you OS and file system documentation for limitations and
possible performance issues.  In most modern OSes, 10^3 should
be fine, but 10^4 or higher.... *shrug* I would look it up.

I would also test performance by writing a Lasso script that
writes 100,000 files (or whatever you think is a reasonable
limit) into a directory with random garbage with unique
filenames.  Then run your code with timings.

var('files' = File_ListDirectory('///var/www/webfiles/candidates/lhire'));

>Is there an easy way to search for a file within the array that "Begins
>with the applicantID?" Since I only have 3 pieces of the full file name, I
>can't just do a find in the array or a contains check. I'm sure there is
>some simple approach that I am just not thinking of.

[
local('appid') = '.DS_Store';
local('fl') = file_listdirectory(response_path);
iterate(#fl, local('i'));
     #i->beginswith(#appid) ? #i;
/iterate;
]

=> .DS_Store

However I would be concerned about the efficiency of the easy
and simple method when you get into large number of items in the
array, and would look into matchers and iterators.  Of course
test and compare performance.

[
local('dm') = date_msec;
local('appid') = 'bingo'; // or whatevs
local('fl') = file_listdirectory(response_path);
iterate(#fl, local('i'));
     #i->beginswith(#appid) ? #i;
/iterate;
'<br />';
date_msec - #dm;

local('myiter') = iterator(#fl, match_regexp(#appid + '.'));  //
or whatevs separator instead of "."
while(#myiter->atend == false);
     '<br />' + #myiter->value;
     null(#myiter->forward);
/while;
'<br />';
date_msec - #dm;
]

bingo.lasso
1
bingo.lasso
2

For a directory with only a dozen files, it hardly matters.

--steve


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy              Website Builder              Soquel, CA
<[hidden email]>               <http://www.StevePiercy.com/>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Bil Corry-3
In reply to this post by French, Shelane
If it were me, I wouldn't search through thousands of files for the one I
want (and as the number of files grow, the searching will be slower, and
slower, etc).

Instead, I would treat the directory as an inbox, and run a nightly script
that does the following:

Find all files, and for each one:
- create a sub-directory using the jobid as the name (if it doesn't already
exist)
- move the file to the sub-directory
- create an entry in a database that has the filename, the applicant ID,
the job ID, the application date, and the full file path to the file

That way, you can find all the files for a specific applicant, or all for a
specific date, or all for a specific job, etc very quickly in the database,
and you no longer have to search through thousands of files every time.


- Bil



On Thu, Jan 15, 2015 at 9:16 PM, French, Shelane <[hidden email]> wrote:

> Lasso 8.6
>
> Our hiring department is providing resume files for my system. They have
> constructed the filename to be:
> applicantID_jobID_dateofapplication_filename
>
> My database has the applicant ID, job ID, and date of application. They
> push the files to my server where they are in the same group as lasso and
> I have set up permissions for that directory. That is all testing and
> working. I can get an array of file names by doing:
>
> var('files' = File_ListDirectory('///var/www/webfiles/candidates/lhire'));
>
> There are currently 1995 files, but this will grow.
>
> Is there an easy way to search for a file within the array that "Begins
> with the applicantID?" Since I only have 3 pieces of the full file name, I
> can't just do a find in the array or a contains check. I'm sure there is
> some simple approach that I am just not thinking of.
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Jolle Carlestam-2
16 jan 2015 kl. 05:59 skrev Bil Corry <[hidden email]>:

> Instead, I would treat the directory as an inbox, and run a nightly script
> that does the following:

Bils idea sounds like the best so far.
And remember that it does not have to be nightly. Lasso can be run as a CLI script. And that script could be triggered by a watchdog that tracks changes to the directory in question. How you do that depends on the OS used.

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

French, Shelane
Hmm. I would like to know more about how to do this. Running RHEL 5.11.

On 1/16/15, 2:43 AM, "Jolle Carlestam" <[hidden email]> wrote:

16 jan 2015 kl. 05:59 skrev Bil Corry <[hidden email]>:

> Instead, I would treat the directory as an inbox, and run a nightly
>script
> that does the following:

Bils idea sounds like the best so far.
And remember that it does not have to be nightly. Lasso can be run as a
CLI script. And that script could be triggered by a watchdog that tracks
changes to the directory in question. How you do that depends on the OS
used.

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Jolle Carlestam-2
16 jan 2015 kl. 17:22 skrev French, Shelane <[hidden email]>:

> Hmm. I would like to know more about how to do this. Running RHEL 5.11.

I recommend you draw some attention from the Linux experts around. Here or at your work. There is a utility called inotify that I think covers your needs as to watching the original file directory for changes, as in when a file is put in it.
If you want to go Bils route of checking each night there’s cron you should investigate.

With inotify or cron you then point it to a Lasso script file that does the actual processing. I have whipped one up for you. It will create a subdirectory in a target dir and move all found files to it. Then create records in a table with the file name and path it is stored in. The rest, dividing raw file names into parts and storing that separately in fields I leave to you.

The script you put wherever you find suitable and make sure it is executable.
sudo chmod +x [scriptname]
should do it.

Here’s script:

#!/usr/bin/lasso9
// the above has to be the first row of the file. Note, do not save with a BOM

database_initialize // this is to allow DB actions and will load all database connectors available

local(
        date = date,
        tmp_filef = ’//path/to/where/files/are/uploaded/tmp_files/',
        stored_filef = '//path/to/where/files/are/stored/stored_files/',
        path = #stored_filef + #date -> format(`yyyyMMddHHmmss`),
        movetodir = dir(#path),
        sql = "INSERT INTO db_name.table_name (filename, path, created_datetime) VALUES ",
        sql_rows = array,
        file
)

#movetodir -> create

with filename in file_listdirectory(#tmp_filef)
where not(#filename -> beginswith('.')) and not(#filename -> beginswith('_')) do {
        #file = file(#tmp_filef + #filename)
        #file -> moveto(#path + '/' + #filename)
        #file -> close
        stdoutnl('Moved ’ + #filename)

        // Here would be where you divide the file name into suitable parts for separate storage in the record

        #sql_rows -> insert("('" + #filename -> encodesql + "', '" + #path + "', '" + #date + "')")
}

inline(
// when executed from CLI Lasso will not have access to DB settings as when executed thru the web server
// thus you need to set these params.
// it’s recommended that you for this purpose create a Mysql user that is only allowed to write
// to the specified table and no other privs
        -host =(:
                -datasource ='mysqlds',
                -name ='localhost',
                -username =’myuser',
                -password =’mypassword’
        ),
        -sql = #sql + #sql_rows -> join(', ')
) => {
        error_code ? stdoutnl(error_msg)
}



That should be enough to get you going in the right direction.


Oh, here’s the table I used for testing:
CREATE TABLE `demofile` (
  `id` int(6) unsigned NOT NULL AUTO_INCREMENT,
  `filename` varchar(255) DEFAULT NULL,
  `path` varchar(255) DEFAULT NULL,
  `created_datetime` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8


HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Jolle Carlestam-2
17 jan 2015 kl. 12:08 skrev Jolle Carlestam <[hidden email]>:

> stored_filef = '//path/to/where/files/are/stored/stored_files/',

One more thing, this directory needs to be writable by whomever runs the script file. In contrast to when you execute Lasso code from the web server this is NOT _lasso. If you run the script, it will be your user. If you have inotify or cron run it I not sure what user it will run under.
One way to ensure that it works is to make the dir writable by anyone. You can have that set separately from readable so files in there will still be protected.

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: finding partial string within array

Jolle Carlestam-2
In reply to this post by Jolle Carlestam-2
17 jan 2015 kl. 12:08 skrev Jolle Carlestam <[hidden email]>:

> ’"

One last thing, my mail client tends to wreck all quotes that I insert. Make sure you replace the whacky ones with proper ones before testing any code example I provide.

(#%€&€%/ bl__dy Apple Mail for trying to be so smart)

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>