× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Wed, Aug 31, 2016 at 2:12 PM, (WalzCraft) Jerry Forss
<JForss@xxxxxxxxxxxxx> wrote:
This would be an issue for what I am doing.

Some of the values will be MLMD, MLDM and MLD.

So scanning for a value of MLD may give a false positive.

It wouldn't, if you took the appropriate precautions for the format of the data.

The example you started with was minimal, so I couldn't tell if it was
space-delimited or fixed-width.

If fixed-width, then you would want to divide the result of your scan
by the element size, and you only have a match if the remainder is 1.

If delimited (by anything, including spaces), then you would first of
all want to ensure you have a delimiter at the beginning of every
field (so one extra one at the beginning) or at the end (so one extra
one at the end). Then include the delimiter in your scan.

So, scanning is still doable, but how convenient it is depends on how
the data in the big string is formatted.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.