question

Axel Kohonen avatar image
0 Likes"
Axel Kohonen asked Phil BoBo commented

Bug: strquote does not seem to work

Hi,

I noticed that the strquote function does not seem to work anymore. It returns the string without Is there something that has changed in FlexSim 2017? It worked in FlexSim 2016 update 2. Have not tried FlexSim 17.0.2 so I am not sure if it works in that version.

For those that need a solution now you can use \" to put a "-character into a string.

Thank you!

Kind regards,

Axel

FlexSim 17.0.1
stringstrquote
strquote.png (6.8 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

jing.c avatar image jing.c commented ·

I have test this in 17.0.2, and it still not work.

1 Like 1 ·
Sam Stubbs avatar image Sam Stubbs ♦ commented ·

Thanks for the heads up, I'll let the devs know.

0 Likes 0 ·

1 Answer

Matt Long avatar image
5 Likes"
Matt Long answered Matt Long edited

Honestly didn't even know there was a strquote() command. Since at least version 6, maybe earlier, you've been able to add quotes to a string by typing \" The command should be marked as deprecated.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.