Jump to content
Sign in to follow this  
Rezert

str_replace for AutoIt?

Recommended Posts

Rezert

In PHP I could do something like this:

<?php

$var1 = "abc";
$var2 = str_replace("b", "z", $var1);
echo $var1;

?>

So I'm trying to figure out if there is a str_replace in AutoIt?

Thanks, Rez.

Edited by Rezert

Share this post


Link to post
Share on other sites
Markos

$var2 = StringReplace ( $var1, 'b', 'z' [, count [, casesense]] )


Share this post


Link to post
Share on other sites
Rezert

Thanks so much. =]

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
Sign in to follow this  

×