how to insert string in a string -> not tie

how to insert string in a string -> not tie

am 11.05.2006 22:13:55 von Jane

I got the tie part, now how can i insert a string in a string?
for example, I have to add string in this string
CFFlevel 1

add the string before my string marker

so the final string may look like this
CFFlevel 1ADDSTRINGHERE

J

Re: how to insert string in a string -> not tie

am 11.05.2006 22:43:37 von Gunnar Hjalmarsson

Jane wrote:
> I got the tie part, now how can i insert a string in a string?
> for example, I have to add string in this string
> CFFlevel 1
>
> add the string before my string marker
>
> so the final string may look like this
> CFFlevel 1ADDSTRINGHERE

Use the s/// operator or combine the index() and substr() functions.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl