BASIC

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sixth Sense

Pages: 1 2 3 [4]
46
thanks Ian but I tried replace$ and as I mentioned above it replaces all instances of the search$

At the moment I'm splitting using left$ and right$ adding the replacement letter between the splits and joining them back together again. (very messy)

47
GLBasic - en / string manipulation question
« on: 2010-Nov-07 »
x=mid$(source$,start,length) returns a part of the source$.

is there an easy way to replace 1 letter in a string. (replace$ replaces all occurrences)

ie. the equivalent of:         mid$(dest$,start,1)="x"






Pages: 1 2 3 [4]