Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
VB.NET
VB.NET General Discussion
Discovered splits method, what to do with more then 1 space
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Wirloff" data-source="post: 5360" data-attributes="member: 2112"><p>Hi,</p><p></p><p>I'm able of splitting a string lik "Hallo, my name is.." with the "split method"</p><p>But what to do if there are more than one space between the words????</p><p></p><p>split(string, " ") only works if there's exactly one space between them... I've been searching for a couple of houres now <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Anyone who can help?</p></blockquote><p></p>
[QUOTE="Wirloff, post: 5360, member: 2112"] Hi, I'm able of splitting a string lik "Hallo, my name is.." with the "split method" But what to do if there are more than one space between the words???? split(string, " ") only works if there's exactly one space between them... I've been searching for a couple of houres now :( Anyone who can help? [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
VB.NET
VB.NET General Discussion
Discovered splits method, what to do with more then 1 space
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom