![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Is there any easy way in databasic to replace an 8 character string which is part of a 400 character string with another 8 character string starting at a specific location (say the 200th character)? Rob |
#4
| |||
| |||
|
|
"Robert S. Lobel" wrote: Is there any easy way in databasic to replace an 8 character string which is part of a 400 character string with another 8 character string starting at a specific location (say the 200th character)? Rob In D3: VAR[200,8] = "12345678" Or: VAR = VAR[1,199]:"12345678":VAR[207,LEN(VAR)] Does that help? Something tells me I'm missing something - or something. T |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Tony is a hundred times smarter than me, |
|
but I believe his second solution will overwrite the last character in the replacement string. |
![]() |
| Thread Tools | |
| Display Modes | |
| |