Sign in to follow this  
Followers 0
CyberSlug

Stringreplace Weirdness

3 posts in this topic

#1 ·  Posted (edited)

EDIT: It appears to be a bug in 3.0.102 beccause 3.0.101 stable works.

I expect the output to look like avi|button|checkbox|combo and so on--but that is not what I get

;;;fixed-width $records is a bit of a hack to make things simpler

$records = "avi     :button  :checkbox:combo   :date    :edit    :group   :icon    :input   :label   :list    :progress:radio   :tab     :updown  :"
  MsgBox(4096,"Records", $records)

$noSpaces = StringStripWS($records,8)
  MsgBox(4096,"no space", $noSpaces)

$comboData = StringReplace($noSpaces, ':', '|') 
  MsgBox(4096,"controlList", $comboData)

:D What is the problem?

Edited by CyberSlug

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites



You late around 9hours. the lastest unstable working is 24th 14:49

perhaps it is the same for your other thread problem.

Be careful with the proxy caching download. I always add ?new=x to the download when I want to be sure

Take care :D

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