playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Check out our
Chat Channel
!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Updates & Downloads
»
Official Action Updates
»
Build String Separator
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Build String Separator (Read 4819 times)
4arrancho
Playmaker Newbie
Posts: 27
Build String Separator
«
on:
February 26, 2015, 09:44:01 AM »
Hi
Small question. In the build string action why the separator value also appears in the end?
If i have 2 strings;
string1: "Thank";
string2: "Jean";
separator: " you "
The result i get is: "Thank you Jean you " instead of "Thank you Jean"
Please help me cause i don't know how to code
Thanks
«
Last Edit: March 05, 2015, 01:51:29 AM by jeanfabre
»
Logged
Lane
Administrator
Hero Member
Posts: 2497
Mender of the past
Re: Build String Separator
«
Reply #1 on:
February 26, 2015, 09:58:27 AM »
It adds a separator
for each string part
. So what happens is you have two string parts and each one will get a separator on the end. In your case it is a word "you" and is pretty awkward.
Its intended purpose is probably spaces, or underlines or something where adding it at the end of each part is not an issue and unnoticeable on the end.
I can adjust this for loop to fix this, unless Jean elects to do it.
Logged
C L E V E R O U S
YouTube
Twitter
Lane
Administrator
Hero Member
Posts: 2497
Mender of the past
Re: Build String Separator
«
Reply #2 on:
February 26, 2015, 10:57:47 AM »
I went ahead and did it.
Logged
C L E V E R O U S
YouTube
Twitter
jeanfabre
Administrator
Hero Member
Posts: 15420
Official Playmaker Support
Re: Build String Separator
«
Reply #3 on:
March 05, 2015, 02:01:27 AM »
Hi,
Thanks Lane, I have pushed it on the
Ecosystem
, under BuildString2
Bye,
Jean
Logged
4arrancho
Playmaker Newbie
Posts: 27
Re: Build String Separator
«
Reply #4 on:
March 05, 2015, 07:40:05 PM »
The example i gave was just to explain what i mean.
Thanks for the new action!
Logged
jeanfabre
Administrator
Hero Member
Posts: 15420
Official Playmaker Support
Re: Build String Separator
«
Reply #5 on:
March 06, 2015, 02:54:03 AM »
Hi,
yep, and that is definitly something that is a bug or at least mabye not the most intuitive way ( a separator by defintion isn't a prefix or a suffix, so it should not be there as the last bit in the final composed string)
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Updates & Downloads
»
Official Action Updates
»
Build String Separator