Try strip
-----Ursprüngliche Nachricht-----
Von:
[hidden email]
[mailto:
[hidden email]] Im Auftrag von gpatrick
Gesendet: Dienstag, 27. Jänner 2015 14:35
An:
[hidden email]
Betreff: [Ibm-netrexx] method trim() not found
I have a string that is getting a whitespace:
For input string: " 0000000000016a03"
And trying to use the trim() method:
hexa = hexa.trim()
Returns:
128 +++ hexa = hexa.trim()
+++ ^^^^
+++ Error: The method 'trim()' cannot be found in class
'netrexx.lang.Rexx' or a superclass
I've imported 'java.lang.' but still always gets the same trim() method not
found. I've also tried returning "trimmed = hexa.trim()" and same message.
--
View this message in context:
http://ibm-netrexx.215625.n3.nabble.com/method-trim-not-found-tp4027349.htmlSent from the ibm-netrexx mailing list archive at Nabble.com.
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive :
http://ibm-netrexx.215625.n3.nabble.com/_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive :
http://ibm-netrexx.215625.n3.nabble.com/