:echo substitute(@%, "\..*", "", "")
:echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
Parameters2.html
>From :reg
": echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
"% Parameters2.html
So, how should I write this substitute command?
--
Graham Lawrence
--
You received this message from th
On 15:25 Sun 14 Oct , Graham Lawrence wrote:
> :echo substitute(@%, "\..*", "", "")
>
> :echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
> Parameters2.html
>
> >From :reg
> ": echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
> "% Parameters2.html
>
> So, how should I write this substitute
On Sunday, October 14, 2012 4:59:28 PM UTC-7, coot_. wrote:
> On 15:25 Sun 14 Oct , Graham Lawrence wrote:
>
> > :echo substitute(@%, "\..*", "", "")
>
> >
>
> > :echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
>
> > Parameters2.html
>
> >
>
> > >From :reg
>
> > ": echo substitute(@%
On Mon, October 15, 2012 16:14, porphyry5 wrote:
> On Sunday, October 14, 2012 4:59:28 PM UTC-7, coot_. wrote:
>> On 15:25 Sun 14 Oct , Graham Lawrence wrote:
>>
>> > :echo substitute(@%, "\..*", "", "")
>>
>> >
>>
>> > :echo substitute(@%, "\([^.]\+\)\..*", "\1", "")
>>
>> > Parameters2.html
>
On Monday, October 15, 2012 7:27:40 AM UTC-7, Christian Brabandt wrote:
> On Mon, October 15, 2012 16:14, porphyry5 wrote:
>
> > On Sunday, October 14, 2012 4:59:28 PM UTC-7, coot_. wrote:
>
> >> On 15:25 Sun 14 Oct , Graham Lawrence wrote:
>
> >>
>
> >> > :echo substitute(@%, "\..*", "", "