【问题标题】:How to add a tab between to words如何在单词之间添加标签
【发布时间】:2022-08-16 18:33:29
【问题描述】:

我需要在两个单词之间添加一个标签。有人可以指出一个可以实现这一目标的功能吗?

Input: Word1 Word2
output: word1 <inserted tab> word2

提前感谢您的帮助。

    标签: datastage


    【解决方案1】:

    不知道 datastage 但你试过 \t 吗?显然它适用于其他一些功能,如delim

    【讨论】:

    • 偶然发现了一篇文章,该帖子建议在转换器 word1:char(9):word2 中简单地连接 char(9)。这行得通。
    【解决方案2】:
    inLink.Word1 : Char(9) : inLink.Word2
    

    我建议将值预加载为阶段变量的初始值,我们称之为 svTab,因此该函数只需要评估一次。

    inLink.Word1 : svTab : inLink.Word2
    

    【讨论】:

      猜你喜欢
      • 2014-06-16
      • 2012-10-14
      • 1970-01-01
      • 2021-09-12
      • 2021-05-17
      • 1970-01-01
      • 1970-01-01
      • 2022-07-06
      • 2022-01-25
      相关资源
      最近更新 更多