richmondmathewson at gmail.com
Wed Nov 16 09:42:59 CET 2016
You're a star!
This works perfectly:
put line QOUNT of fld "fSSS1" into PROCESST
put replaceText(PROCESST,"unicodeT","t") into line QOUNT of fld "fSSS1"
Thank you buckets!
However, inevitably I cannot resist the occasion to have a "b*tchy" grumble:
The documentation is not up to scratch on replaceText . . .
On 16.11.2016 10:14, Mike Bonner wrote:
> I have a feeling you're trying to do something that I'm missing but I'll
> give it a shot..
> you put line QOUNT into variable processt.. but then you don't actually use
> the variable. If you're wanting to actually change the line itself you
> would need to do replace "unicodeText" as the first parameter with
> PROCESST, and since its a function you need to do something with the
> output, so you can combine the 2 last lines and end up with..
> put replaceText(PROCESST,"unicodeT","t") into line QOUNT of fld "fSSS1"
> As it is, (assuming you get replactext("unicodeText","unicodeT","t") ) you
> replace text in the string unicodeText.
> On Wed, Nov 16, 2016 at 12:55 AM, Richmond <richmondmathewson at gmail.com>
>> Would be grateful if someone could tell me why this is NOT working:
>> put line QOUNT of fld "fSSS1" into PROCESST
>> put PROCESST into line QOUNT of fld "fSSS1"
>> Oh, and, by the way, the URL for PERL reference here
>> seems to be a dud.
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode