Sign in to follow this  
Followers 0
oliverh

StringReplace

3 posts in this topic

#1 ·  Posted (edited)

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



#2 ·  Posted (edited)

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

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

[center]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.[/center]

Share this post


Link to post
Share on other sites

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  
Followers 0