How to test a string if it is separated with space or not?
nagatron 0 Junior Poster in Training
Recommended Answers
Jump to Postdim x as string x = "hello world" if instr(1, x, " ") <> 0 then msgbox "yeah, space." else msgbox "no sir!" end if
Jump to PostBah :icon_eek:
Wish I would have caught that it was homework :/
All 6 Replies
Comatose 290 Taboo Programmer Team Colleague
nagatron commented: Thank you, here is good reputation for you. +1
javmedia 2 Light Poster
nagatron commented: You're so negative. +0
Comatose 290 Taboo Programmer Team Colleague
nagatron 0 Junior Poster in Training
nagatron 0 Junior Poster in Training
nagatron 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.