Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8285983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:36:00+00:00 2026-06-08T11:36:00+00:00

How would one concatenate a symbol with text on either side? For example: Prefix:

  • 0

How would one concatenate a symbol with text on either side?
For example:

  • Prefix: "GAR_"
  • Variable: $todayDate
  • Suffix: "_1"

GAR_$todayDate_1

Which would evaluate to:
GAR_07202012_1

When running the test in fitnesse, it seems as though the concatenation is working (GAR_$todayDate->[07202012]_1). However, I am passing this value as a parameter to visual studio and I instead end up with the following text: GAR_$todayDate_1.

When I remove the suffix or put a space between $todayDate and "_1", everything works as expected.

Any help would be appreciated.

Things I have tried:

  • GAR_!-$todayDate-!_1
  • GAR_$todayDate!-_1-!
  • GAR_$todayDate${SUFFIX} – static variable defined

Thanks,
Mike

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:36:03+00:00Added an answer on June 8, 2026 at 11:36 am

    I am stuck with the same problem currently.
    The only way I found was to:

    1. create a StringSupport class with a String concatenate(String s1, String s2) method
    2. import the package of that class in your FitNesse test
    3. put StringSupport in the available libraries in your FitNesse test with the Library table
    4. in your Script, you can now do: |$result=|concatenate;|$s1|$s2|

    To fit your exact use case, you just have to do the same concatenate() with 3 strings instead of just one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How would one go about either using the 3D components of WPF or using
I would like in .ToDictionary() to concatenate both category_code and category_name in to one
i have address columns that i would like to concatenate even if only one
Possible Duplicate: How do I concatenate multiple C++ strings on one line? How would
How would one shorten the following using ternary operators? if ((pos - maxPos) ==
How would one insert an array full of smtp email addresses into an AD
How would one enumerate the installed browsers on an OS X system from a
How would one switch a public bool to true from a child form in
How would one follow the proper steps in order to license a package under
How would one typically implement a service layer in an MVC architecture? Is it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.