Dear mesh users and developers.
Given some string (in gmsh script), for example, view name
test = Str( View[0].Name );
which can be printed using:
Printf(test);
I want to get substring of this string, for example first 5 characters of 5
last ones. But i don't see any built-in functions for this purpose. None of
expressions work for me as well.
For example, there is documented syntax

expression:
  real |
  string |
  string ~ { expression }
  string [ expression ] |


But test[1] is not working (out of range index). I suppose i don't
understand some differences between lists, strings, char-expressions and
something like that.

Is there any way to do what i want?

-- 
  Best regards, Oleg
_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to