HanselGarvey

How do I make function that adds more data to other strings?

1 post in this topic

#1 ·  Posted (edited)

Basically I want a string that can type,

<_StringInsert ( $FullString, $PartString, 1)>

Eventually want to turn it into this. 

<_StringInsert ( $FullString, "Some words" & $PartString & "Other words", 1)>

So I want to insert $partstring the end of $fullstring. I've not been having luck getting _stringinsert to work even after including string.au3

That would repeat multiple times and then send. 

so it would be like this. 

$fullstring  "Some words" $Partstring "Otherwords"  "Some words" $Partstring "Otherwords"  "Some words" $Partstring "Otherwords"

 

So does anyone know how to get string insert to work? Sorry if this is confusing. 

 

Okay I figured it out. Sorry guys. 

Edited by HanselGarvey
Figured it out

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now