如何在gnuplot中连接字符串?

时间:2016-03-21 17:55:57

标签: gnuplot

假设我们有两个字符串:

String1 = 'This is '
String2 = 'a mouse.'

如何在gnuplot中连接这两个字符串以形成字符串'This is a mouse.'

1 个答案:

答案 0 :(得分:17)

给出两个字符串

var libraries = myDynamicList.Where(d => Path.GetExtension(d.FileName) == ".dll")
                             .Select(d => d.FileName);

要连接它们,您可以使用

String1 = 'This is ' 
String2 = 'a mouse.'

或更灵活:

String3 = String1.String2

输入String3 = sprintf("%s%s", String1, String2) help string,了解有关这两种方法的更多信息。