cppman Posted March 20, 2006 Posted March 20, 2006 Is their any way to split an integer? like $a = "String" StringSplit($a, "S") is their any way to do that with an integer? $a = 5006 IntSplit($a, 5) is their any way at all for doing this? it sounds kinda retarded but... im just wondering, it would be a bit useful... Miva OS Project
CyberSlug Posted March 20, 2006 Posted March 20, 2006 ;Maybe $a = 5006 StringSplit("" & $a, "5") Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
cppman Posted March 20, 2006 Author Posted March 20, 2006 oh. I did'nt klnow u could use string split for integers too... thanks! Miva OS Project
billmez Posted March 20, 2006 Posted March 20, 2006 oh. I did'nt klnow u could use string split for integers too... thanks!I believe stringslpit will work for any character. You can enclose the integer in qoutes in the StringSplit function. Of course if you don't know the character in advance, it won't help you. If you know the position of the digit you want to split on, you can use a combination of StringLen , StringLeft, and StringMid to split it.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now