[tw5] Re: Text and String Manipulation - the missing join options?

2020-06-04 Thread PMario
On Thursday, June 4, 2020 at 11:22:05 AM UTC+2, PMario wrote:
>
> Hi, 
> I did create a new issue. 
> -mario
>

+ link :) https://github.com/Jermolene/TiddlyWiki5/issues/4697
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c3cafa3b-df56-4183-9b12-15cb13ec863f%40googlegroups.com.


[tw5] Re: Text and String Manipulation - the missing join options?

2020-06-04 Thread PMario
Hi, 

I did create a new issue. 

-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7fa40d32-e59b-4bf0-98d6-4d91eb7f8bde%40googlegroups.com.


[tw5] Re: Text and String Manipulation - the missing join options?

2020-06-03 Thread TonyM
Mario,

Will you or I raise that Issue?

Another approach would be a set of macros that return the value. 

However your approach makes more sense I would like to see the ability to 
do this more generally. 

I am surprised it cant seem to be achieved with html entities, ASCII or 
other fonts. Or perhaps it can and the join operator ignores it.

Join is not the only place, inside then or else operators, addprefix[\n] 
etc...

Regards
Tony

On Wednesday, June 3, 2020 at 11:23:06 PM UTC+10, PMario wrote:
>
> Hi, 
>
> IMO should be a github feature request. 
>
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0625fcee-4f88-4750-ac71-25168e8afcff%40googlegroups.com.


[tw5] Re: Text and String Manipulation - the missing join options?

2020-06-03 Thread PMario
Hi, 

IMO should be a github feature request. 

-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d58298c-5117-4221-9db3-cc54108cf45e%40googlegroups.com.


[tw5] Re: Text and String Manipulation - the missing join options?

2020-06-03 Thread PMario
Hi, 

It should be possible to create something like: join:special[\n\t\] 
which would make it much easier.

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c86f6b2a-7e7e-4e7c-ba41-763010c6ed77%40googlegroups.com.


[tw5] Re: Text and String Manipulation - the missing join options?

2020-06-03 Thread PMario
On Wednesday, June 3, 2020 at 2:34:11 AM UTC+2, TonyM wrote:
 

> The missing piece here is how do we insert or replace non simple text?, in 
> many cases you can use a macro to define what to join with but only if you 
> can represent it as wikitext. 
>
>
>- The key example is one cant join using the new line character, 
>splitregexp allows to to split based on \n but there is now way to join 
>with \n
>
>
You are right joining a new-line is tricky. You need to use <$set filter 
...>

\define testCreate()
<$set name=test filter="""[[aaa-bbb-ccc-ddd]split[-]join[
]]""">
<$action-createtiddler $basetitle="base" text=<> />

\end

<$button actions=<> >
Create Tiddler


-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0227b7ad-f55a-4808-89bf-143fd01e44e0%40googlegroups.com.


[tw5] Re: Text and String Manipulation - the missing join options?

2020-06-03 Thread PMario
Hi, 

On Wednesday, June 3, 2020 at 2:34:11 AM UTC+2, TonyM wrote:
>
> Folks,
>
> Has anyone noticed we have the following Operators
>
>- split (using simple text)
>- splitregexp Operator  
> (using 
>advanced regex)
>
> Then we have
>
>- Join  (using simple text)
>- ??
>
> See: 
https://tiddlywiki.com/#join%20Operator:%5B%5Bjoin%20Operator%5D%5D%20%5B%5BFilter%20Operators%5D%5D

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2ba50c37-731c-47be-9f98-f8dd1801c956%40googlegroups.com.