Jump to content

Recommended Posts

Posted

I have data that gets returned from an outside app that has 2 datafields that are seperated with a comma i.e. data1,data2.

How would I go about defining the data before the comma to a variable i.e. $Var1 and after the comma $Var2 ?

Thanks for any insight!

  • Moderators
Posted

Hi, itctravel. You already have a thread going where you ask this question. Please stick to a single thread rather than creating multiples. It makes it easier for those trying to assist.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

Search the forum for "CSV read write" and you will find a lot of code which should at least give a kick start.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Posted

Thanks Water, I will check out your example.

I did end up finding 'StringSplit' before posting but couldn't figure how to make it do what I wanted to. I am sure the example you mention should help me piece it together.

JLogan3o13 I am not trying to get anyone upset, I thought this question to be independent of my previous post.

  • Moderators
Posted

Hi, itctravel. No one is upset :) We just like to keep to one topic at a time, so those attempting to help don't have to flip back and forth between threads. If your previous thread is resolved, you can go into it and edit your original post to reflect that.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...