Sign in to follow this  
Followers 0
dkwokgs

read line and Extract string without space

3 posts in this topic

#1 ·  Posted (edited)

Hi there,

How to read and extract a line and remove space (multiple space or maybe tab in between) from the string?

eg.

10.151.1.42 corp.com www.corp2.com

Thanks

Daniel

Edited by dkwokgs

Share this post


Link to post
Share on other sites



Search for StringSplit in the help file. That might be what you are looking for.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

StringStripWS will strip white space.

Eample

$text = StringStripWS("10.151.1.42 corp.com www.corp2.com", 8)
MsgBox(0, "Stripped all white space", $text)

:)

:)

Edited by MHz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0