Microsoft
Software
Hardware
Network
Question : Remove leading characters in a string, convert to integer, add, convert back to string
Using Javascript...
I have two strings that begin with '$ '.
I need to convert them to integers after stripping off the first two characters.
Then, I need add them them and convert the result to a string, adding back the '$ ' characters at the beginning.
Answer : Remove leading characters in a string, convert to integer, add, convert back to string
oops. forgot to prepend the '$'
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21:
Open in New Window
Select All
Random Solutions
Exchange Monitoring
Accidentally repartiioned a drive, can I recover it
Can't log on throught remote desktop
Group policy not applied to clients
SAMBA ERROR: Undefined symbol: .VA_COPY
Easy question... how to copy a column and contents to another table
Reader 8.0 default reader in IE7 with multiple Adobe installs
Configuring xDSL with PPPoE in Red Hat 9
Windows, Linux and network real time monitoring tools.
Advanced Sql Select statement