我在表中有一列,有些值有反斜槓/結束。我想刪除這些斜槓值並保留文本的其餘部分。所以可以說我有一個文本"myjunkdata/"
,它應該讓我回到"myjunkdata"
。但是,以下情況不起作用。下面Talend tMap如果數學符號的條件爲字符串
Certified SOA Security Specialist/
Information Security Management Principles Foundation Certificate/
Check Point Certified Security Administrator R77/
Check Point Certified Security Expert R77/
Check Point Managed Security Expert/
Cisco Certified Network Associate Security
Cisco Certified Network Professional Security
Cisco Certified Internetwork Expert Security
Cisco Certified Network Professional Security
(StringHandling.RIGHT(row1.CertificateName,1) == "/") ? StringHandling.LEFT(row1.CertificateName,StringHandling.LEN(row1.CertificateName)-1) : row1.CertificateName
例如數據誰能幫助?
這隻適用於最後一個字符是'/'還是任何地方? – AxelH
@AxelH僅適用於最後一個字符。就是這樣 – Enthusiast