Function in vb

Hiiii everybody.
i wanna know is there any function in vb which can tell me the ascii values of the subscript(element) of an array....... or can we write a function for this. if possible please help.........
thanx in advance.

Replies

  • komputergeek
    komputergeek
    use this :
    Asc ( Mid ( String_name,Position ) )

    sorry for late reply 😉
  • Anil Jain
    Anil Jain
    komputergeek
    use this :
    Asc ( Mid ( String_name,Position ) )

    sorry for late reply 😉
    Probably an example of this would help us in depth.

    -Crazy
  • komputergeek
    komputergeek
    Private Sub Form_Load()
    Dim str1 As String
    str1 = "Some Text"
    Text1.Text = Asc(Mid(str1, 3))   'Display ascii value of 3rd character i.e 'm' in textbox
    End Sub
    

You are reading an archived discussion.

Related Posts

im a student of b tech 2nd yr electronics &comm. i m colour blind plz tellme if it can hamper my job prospects .in software or in core electronics
ansys symulation 😎 i want to simulate something in ansys give me some new choice😕
can i ask for help? can anyone give me an idea on what project i can do for my software engineering subject using visual basic and ms access for the...
I am not much into coding. I am looking for crawlers / spiders which i can use to scrape we pages to collect some specific information from internet. Any suggestions...
hi gyz actually i m working on RESTLet framwork since 2 daz basically this is design pattern for developing web services and i have developed simple application using this framework...