Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
split a variable
#1
Solved: 10 Years, 10 Months, 3 Weeks ago
Hey guys,

I have a variable that is getting passed to me in the form of -
VarA = $2000.
My problem is when i start to try and use this variable as an Integer....such as when i try and add my variable to another integer -
VarA + 300 = VarB

Here i get a "type mismatch" error. (due to the $ sign in front of the 2000)

My question would be does anybody know how i can strip the $ sign away so that im left with just the Integer?

Thanks,
Brian
Reply


Messages In This Thread
split a variable - by Brian - 04-15-2008, 04:59 PM
RE: split a variable - by stech - 04-15-2008, 07:06 PM
RE: split a variable - by niranjan - 04-15-2008, 07:09 PM
RE: split a variable - by mag - 04-17-2008, 02:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split function in string nidhishnair 13 63,709 07-07-2020, 03:47 PM
Last Post: helmzshelmz
Question Split Function Chaithra N 0 1,041 12-18-2019, 11:33 AM
Last Post: Chaithra N
  Split a string with multiple delimiters in VBScript nandha 2 8,089 02-10-2018, 06:44 PM
Last Post: nandha
  Split Function diya 2 5,613 11-28-2012, 08:49 PM
Last Post: diya
Question Deatils on Split action with Nested type sams001 0 3,252 10-30-2012, 03:03 PM
Last Post: sams001

Forum Jump:


Users browsing this thread: 1 Guest(s)