Thanks Walter.. the options helped me a lot.
On Monday, February 27, 2023 at 11:49:05 PM UTC+5:30 Rowe, Walter P. (Fed)
wrote:
> If you want the commas removed you can do that too.
>
> - "{{ text_to_split1.replace(',','').split()[-3:] }}"
> - "{{ text_to_split2.replace(',','').split()[-3:] }}"
>
> ok: [localhost] => {
> "msg": [
> [
> "0.02",
> "0.05",
> "0.00"
> ],
> [
> "1.08",
> "0.99",
> "1.05"
> ]
> ]
> }
>
>
> Walter
> --
> Walter Rowe, Division Chief
> Infrastructure Services, OISM
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" 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/ansible-project/42fc8d28-fbd3-44a1-8e56-54dd9e4783dan%40googlegroups.com.