Hi Toni,

Can i use some of this paramters in one Makro

an how can i do this.

an Macro with the colon i dont have seen till this day

Am Freitag, 27. März 2020 12:15:42 UTC+1 schrieb TonyM:
>
> Gerald,
>
> It would be good if you gave a sample string and the result.
>
> See here, https://tiddlywiki.com/prerelease/#Filter%20Operators
>
> Any filter can be used to do this, but the triple braces are quick and easy
>
> \define source-field() title
> <$set name=string value={{{ [all[current]get<source-field>] }}}>
>
>
> ;Is one or some of these what you want?
> :First Character = {{{ [<string>split[]first[]] }}}
> :Last Character = {{{ [<string>split[]last[]] }}}
> :Count = {{{ [<string>split[]count[]] }}}
> :Length = {{{ [<string>length[]] }}}
>
>
> ;This is what split does, notice it removes the spaces (but not with count
> )
> {{{ [<string>split[]] }}}
>
> </$set>
>
>
> Regards
> Tony
>
> On Friday, March 27, 2020 at 5:34:17 PM UTC+11, Gerald Weis wrote:
>>
>> hi all
>>
>> I have an new projekt where i need an general substringfunktion
>>
>> the makro should work at the pattern "fieldname"  "starting 
>> characternumer which should be extracted" "last charcternumber wich should 
>> extracted"
>>
>> the most used field is the field "title" of the current Tiddler.
>> but other fields of current tiddlers should be possible to for use.
>>
>> this substring must be printet in an other field as string.
>>
>> my skill ist not so good.
>>
>>
>> thanks for ideas
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/04ff7614-3b7a-48a6-acdf-f92e96d6734d%40googlegroups.com.

Reply via email to