Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. null delimited string

null delimited string

Scheduled Pinned Locked Moved Visual Basic
jsonquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    r i s h a b h s
    wrote on last edited by
    #1

    dear all, how do i split a Null delimited string Buffer which is returned by an api function. rIsHaBh

    S 1 Reply Last reply
    0
    • R r i s h a b h s

      dear all, how do i split a Null delimited string Buffer which is returned by an api function. rIsHaBh

      S Offline
      S Offline
      steff kamush
      wrote on last edited by
      #2

      assuming strBuffer is returned by the API Dim v As Object v = Split(strBuffer, ControlChars.NullChar) :rose::rose: 1fm1fu

      R 1 Reply Last reply
      0
      • S steff kamush

        assuming strBuffer is returned by the API Dim v As Object v = Split(strBuffer, ControlChars.NullChar) :rose::rose: 1fm1fu

        R Offline
        R Offline
        r i s h a b h s
        wrote on last edited by
        #3

        Thanx for your reply but this is not working steff kamush wrote: v = Split(strBuffer, ControlChars.NullChar) instead if i use v = Split(strBuffer, Chr(0)) then it works absolutely fine. Thanx anyways. :) **r**I**s**H**a**B**h**

        S 1 Reply Last reply
        0
        • R r i s h a b h s

          Thanx for your reply but this is not working steff kamush wrote: v = Split(strBuffer, ControlChars.NullChar) instead if i use v = Split(strBuffer, Chr(0)) then it works absolutely fine. Thanx anyways. :) **r**I**s**H**a**B**h**

          S Offline
          S Offline
          steff kamush
          wrote on last edited by
          #4

          Kool. Guess u r using VB6, not .net, no? Mine was meant 4 .net :rose::rose: 1fm1fu

          R 1 Reply Last reply
          0
          • S steff kamush

            Kool. Guess u r using VB6, not .net, no? Mine was meant 4 .net :rose::rose: 1fm1fu

            R Offline
            R Offline
            r i s h a b h s
            wrote on last edited by
            #5

            Ohh....tht was the problem. I tried tht code on VB6. Thanx a lot :rose: rIsHaBh

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups