Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 794

Getting Started with LiveCode - Complete Beginners • Re: Find & Replace with Wildcard(s)

$
0
0
Well: no answers forthcoming.

While waiting, I didn't wait and did this instead in a button:

CODE:

on mouseup   put the script of this card into fld "SKRIPT"   put 1 into VOX   repeat until word VOX of fld "SKRIPT" is empty      if word VOX of fld "SKRIPT" contains ".png" then         put word VOX of fld "SKRIPT" into VOXXX         put VOXXX into fld "VOCKS"         delete the second char of fld "VOCKS"         put "b" after the first char of fld "VOCKS"         delete char -2 of fld "VOCKS"         delete char -2 of fld "VOCKS"         delete char -2 of fld "VOCKS"         delete char -2 of fld "VOCKS"         put fld "VOCKS" into VOKS         put (" " & VOKS) after word VOX in fld "SKRIPT"         delete word VOX of fld "SKRIPT"      end if      add 1 to VOX   end repeat   set the script of this card to fld "SKRIPT"end mouseup
Really fairly tedious.

Statistics: Posted by richmond62 — Wed Jan 22, 2025 5:25 pm



Viewing all articles
Browse latest Browse all 794

Trending Articles