Jump to content

Howto find a substring in a string?


gosu
 Share

Recommended Posts

hey,

I´d like to have a way to find out if a substring is in a string.

Example:

$asdf ="blablablablalbabla[iMPORTANT]blablablblalblablalba"

And I want to cut the [iMPORTANT] out and store it in another string. How?

[quote name='d2hacker88' date='Jan 6 2005, 05:10 PM']Can someone please help me out with autoit like gimme a link on how to use it cause i have no experience with computer languages and i'd like to make a program with autoit in order to empress my computer teacher.[right][snapback]52215[/snapback][/right][/quote]

Link to comment
Share on other sites

  • Developers

hey,

I´d like to have a way to find out if a substring is in a string.

Example:

$asdf ="blablablablalbabla[iMPORTANT]blablablblalblablalba"

And I want to cut the [iMPORTANT] out and store it in another string. How?

<{POST_SNAPBACK}>

Did you type SubString in the search of the Helpfile ?

What was at the top of the list ? :)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Did you type SubString in the search of the Helpfile ?

What was at the top of the list ?  :)

<{POST_SNAPBACK}>

ooooooooooooooh silly me :)

thanks found it ;)

[quote name='d2hacker88' date='Jan 6 2005, 05:10 PM']Can someone please help me out with autoit like gimme a link on how to use it cause i have no experience with computer languages and i'd like to make a program with autoit in order to empress my computer teacher.[right][snapback]52215[/snapback][/right][/quote]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...