[futurebasic] re: [FB] Re: Search Edit Field

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2001 : Group Archive : Group : All Groups

From: Ken Shmidheiser <k.shmidheiser@...>
Date: Sat, 24 Nov 2001 15:13:26 -0500
-bowerbird asked:

>this reminds me, i've been meaning to ask if
>commands like mid$() and instr() work on containers.
>
>do they?

Yep. From Reference manual:

foundPosition = INSTR(startPos,¬
targetString$|targetContainer$$,¬
searchString$|searchContainer$$)

and

MID$(stringVar$,startPos,numChars) = replaceString$
MID$$(container$$,startPos,numChars) = ¬
replaceString$/contnr$$

Same for RIGHT$$ and LEFT$$

Containers are our friends.

Ken