Jump to content
Sign in to follow this  
oliverh

StringReplace

Recommended Posts

oliverh

hello fans :P

i want to cut a string like this...

blabla|dumdidumoÝ÷ Ú)í+ºÚ"µÍX

how can i realize this? sorry for my bad english :whistle:

greetz oli

edit: i have a lot of strings not in the same lenght... but all strings should be cut at the "|" char

Edited by oliverh

Share this post


Link to post
Share on other sites
SmOke_N

There are many ways, StringSplit, StringLeft+StringInStr, StringRegExp...

$aArray = StringSplit('blabla|dumdidum', '|')
MsgBox(64, 'info', $aArray[1])
Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
oliverh

yeah it works... fast reply thanks :whistle:

greetz from germany :P

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  

×