Welcome! Register for a free account (or login) > How does it work?
|
|
![]() ![]() |
Sep 13 2008, 10:35 PM
Post
#1
|
|
![]() Silver Member Group: Tech Classroom Posts: 324 Joined: 24-July 08 From: U.S. Member No.: 80,488 Operating System: Windows XP Professional Version 2002 Service Pack 3 |
|
|
|
|
Nov 27 2008, 04:22 PM
Post
#2
|
|
![]() ASCII and ye shall receive. Group: Tech Team Posts: 723 Joined: 9-November 06 From: Somewhere out there Member No.: 64,025 Operating System: XP Pro SP2 |
I'm a bit late, but the function you are looking for is Asc.
|
|
|
|
Nov 30 2008, 10:44 AM
Post
#3
|
|
![]() Silver Member Group: Tech Classroom Posts: 324 Joined: 24-July 08 From: U.S. Member No.: 80,488 Operating System: Windows XP Professional Version 2002 Service Pack 3 |
Ya that's what I used. I figured this out a while ago but thanks for replying with more info on it.
|
|
|
|
Feb 24 2009, 10:23 PM
Post
#4
|
|
![]() SuperMember Group: Tech Team Posts: 1,941 Joined: 7-January 09 From: Flint, Michigan Member No.: 83,485 Operating System: Windows XP, Server 2003/2008, Linux |
I'm currently learning VB (2005 edition, express) and I wanted to know how I can change a string to it's ASCII value. I don't know much about ASCII but apparently a letter/character has a numerical value in what's known as ASCII. I'm not sure if there's a command or not for converting a string to the ASCII value but if anyone knows a good way to do this, whether it's from experience or something you found, I'm open to it. And I did try googling this one but I couldn't come up with anything useful... I will continue to search though, thanks to anyone who can provide info on this. Although ASC is a valid command... You can't technically convert a "string" to its ASCII value. You can convert a single character to its ASCII value. But a string does not have an ASCII value. Only single characters have an equivalent ASCII value. What you do with the value of each character in the string is up to you. If you want to convert a string that consists of a numeric value, (such as "12345") to an integer you can work with, you can use the .tointeger method and receive an integer = 12345. Now you can manipulate the integer mathematically. This thread is old, but I figured I would post some extra information anyways. |
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
5 | Declan | 374 | 21st October 2009 - 07:10 PM Last post by: jephree |
|||
![]() |
10 | Rich01 | 640 | 3rd May 2009 - 05:33 PM Last post by: Noviciate |
|||
![]() |
6 | banzaisi | 545 | 14th April 2009 - 01:13 AM Last post by: jpshortstuff |
|||
![]() |
0 | Ztruker | 1,090 | 22nd February 2009 - 07:03 PM Last post by: Ztruker |
|||
|
Time is now: 18th March 2010 - 03:32 AM |