Remove tabs from string
hey
I've a string like "1 2 3 4" and i want to filter the tabs, the requested result is : "1234"
I was wondering if there any easy way (some String method ?) that i can use
Thanks
igalep132 wrote:
thanks for quick answer
it's not what i need...
eventually i need one string like "1234", without empty sringsCute; how many characters does the String "abcd" contain? Four? Nope, there are a kazillion empty strings between each character, you just can't see them ;-)
kind regards,
Jos
Similar Messages
-
HI EXPERTS
I searched on sdn on how to remove tab from va01 and created a transaction variant through shd0
i made the tab appearing at item level data invisible but when i test it it still shows that tab please help.
being specific i need to remove the tab " Request for Quote Addln Data" at item level detail , this is the last tab .Hi
If you want to put the tabs in invisible mode then you have to use SHD0 only. Even 'Request for Quote Addnl Data' can be done using SHD0 . But also make sure that you are putting in invisible mode . So once again you run SHD0 then check wheather you are able to see that tab or not
Regards
Srinath -
Remove "&" charachter from string
Hi,
Please inform me how can i remove the & from string.
i try this but not working.
SELECT REGEXP_REPLACE(’raise the level of &performance, creativity',’&','') COL1 FROM DUAL;
Also i want to remove any special character from statement.
many thanksAyham wrote:
i try this but not working.
SELECT REGEXP_REPLACE(’raise the level of &performance, creativity',’&','') COL1 FROM DUAL;Are you getting any error?
SQL> set define off
SQL> SELECT REPLACE('raise the level of &performance, creativity','&') COL1
2 FROM DUAL;
COL1
raise the level of performance, creativity>
Also i want to remove any special character from statement.
Search the forum..
Sample:Re: How to find Special Characters in a single query
Edited by: jeneesh on Sep 17, 2012 12:26 PM -
I am trying to remove unwanted from a string. For example:
String is "boy the movie part 2 (2009)". from this string i wanted to remove "(2009)" only, so my string can be looked like as "boy the movie part 2".
Please provide me logic to do this.
Thanks,
Amolgimbal2 wrote:
Hey if that's all you need:
[snip]
Just substring minus the last six characters and to not have to make any assumptions about whitespace being present in the result, a trim() is added for the fun of it.
This is absolutely not fail proof, but it does what you ask.@OP: Most likely this is not what you really want. However, as gimbal2 points out, it does what you ask. The lesson is, you need to be clear and precise in expressing your requirements. To drive the point home, here is some more code that does what you asked for, but probably not what you really want it do do.
if (str.equals("boy the movie part 2 (2009)") {
str = "boy the movie part 2";
} -
Best way to remove apostrophe from string when loadiing
Hi using an insert statement to load data some apostrophe's in string .
We need to ensure all aposrophe's removed from such strings on loading/.
What is best way to achive ethis.
Uisng 11.2.0.3
ThanksUse replace fucntion
Please post ur DDL and DML for the table
For examples you can see this
how do i replace single quotes in a string with say '' or null
select replace('ab''''''''cd','''',' ') from dual;
CREATE TABLE my_table
istrng varchar2(33)
insert into my_table
select replace('ab''''''''cd','''',' ') from dual;Please mark your questions as answered
user5716448
Handle: user5716448
Status Level: Newbie
Registered: Mar 16, 2010
Total Posts: 343
Total Questions: 131 (80 unresolved)Edited by: Rahul India on Jan 29, 2013 6:04 PM -
AC 10.1 remove tabs from Access Request
Hello,
I checked the forum for my specific issue but didn't find what I was looking for.
We're on GRC 10.1 V1100 SP04
Here's the scenario...
- We're requesting a new role to be assigned to an existing user in ECC using the Access Request form from GRC AC 10.1 system.
- I've created a new Request Type "Change Account" with actions Retain/Remove/Assign under process id SAP_GRAC_ACCESS_REQUEST
- We cannot modify the default EUP ID 999 Maintain EUP as they are SAP values & hard coded
- We even copied the 999 and made a custom EUP and made these fields non-mandatory but we want to remove these unnecessary tabs
So what's happening is when we put in a request for assignment of a new role to a user...and hit submit after selecting the role it is asking for "Enter the value for Email" & "Enter the value for Last Name"...which are mandatory fields.
Does anyone know how I can remove/hide the Risk Violations, User Details, Parameters, User Groups etc tabs which are NOT required in this request...we only need the User Access & Attachments tab.
I know in SE80\Access Request package there is a way to hide these BUT I do not see this form under the packages.
Is there any other way?
Thanks in advance,
RajivHi Rajiv,
Please check the below path
Go to SE80 T-code and select package from the drop down and enter GRAC_ACCESS_REQUEST.
Then in the Web Dynpro tab go to FPM Applications and there you can find the aplication GRAC_OIF_REQUEST_SUBMISSION where you can make your changes.
Regards,
Neeraj -
Remove .00 from string while conversion
How do i remove .00, .01 from the string while converting that string to int
i tried to do this
Select REPLACE(CONVERT(varchar(15), [Cases], 1), '.00', '') from table
UPDATE table
SET [CASES_d] = CAST(REPLACE(CONVERT(varchar(15), [Cases], 1), '.00', '') AS INT)
I get the error
Conversion failed when converting the varchar value '1.10' to data type int.
can somebody help
ThanksSorry, in that code I missed intermediate conversion into decimal(10,2). I forgot we can not convert directly.
So, try:
update table set cases_id = case when cases like '%[^0-9.]%' then 0 else cast(cast(Cases as decimal(10,2)) as int) end
where cases not like '%[^0-9.]%' -- exclude updating bad rows
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Removing comma (,) from string
Hello Friends,
I have a string something of this nature
Sting : ',3456,45454,,45454,'
Need to have just comma seperated value : '3456,45454,45454'
Tried with replace but getting - '34564545445454'
select replace ( ltrim(RTRIM(replace(',3456,45454,,45454,', ',,', ','),',')),',', '') from dual;
Appreciate your help .
Thanks/KumarHi, Kumar,
kumar73 wrote:
Hello Friends,
I have a string something of this nature
Sting : ',3456,45454,,45454,'
Need to have just comma seperated value : '3456,45454,45454'
Tried with replace but getting - '34564545445454'
select replace ( ltrim(RTRIM(replace(',3456,45454,,45454,', ',,', ','),',')),',', '') from dual;Do you want to remove ','s at the beginning of the string, but leave them in the other places?
If so:
LTRIM (string, ',')LTRIM removes the given character(s) from the <b>L</b>eft side (that is, the beginning) of string. That's all you want here. (Was your string generated by SYS_CONNECT_BY_PATH? This is a very common problem.)
RTRIM removes the given character(s) from the <b>R</b>ight side (that is, the end) of string. I don't think you want that; you certainly don;'t need it in the example you gave.
REPLACE removes the given characters anywhere in the string. You definitely don't want that. If you did, there would be no point in also using LTRIM or RTRIM. -
Hi,
I am using a layout set to modify certain settings of a file in a km folder.
I am changing the layout set->resource render ->Resource Command Group.
Then i go to the ''single details group''.
Here for a resource i only get ''details'' command not a group,so i can not modify it.
I am unable to remove the option "CLASSIFICATION" from the files context menu details->settings.I need to remove this callsification tab how can i do this?
NikhilHi,
the menu items appearing in the details screen are assigned directly at the layout set whith parameter <i>Commands for the details menu</i>.
Normally this should be the <i>DetailsGroup</i> in this group you find the <i>DetailsSettingsGroup</i> and in this one the <i>DetailsSettingsSecondGroup</i> in which you find the command <i>classification</i> which you can remove.
Alternatively you could build your own groups and assign it to the layout set you use. That is more safe when thinking of upgrade or support packages.
Regards,
Sascha
p.s.: we talk about this topic in SAP Education class EP300 -
Removing characters from string after a certain point
Im very new to java programming, so if this is a realy stupid question, please forgive me
I want to remove all the characters in my string that are after a certain character, such as a backslash. eg: if i have string called "myString" and it contains this:
109072\We Are The Champions\GEMINI
205305\We Are The Champions\Queen
4416\We Are The Champions\A Knight's Tale
a00022723\We Are The Champions\GREEN DAYi would like to remove all the characters after the first slash (109072*\*We...) leaving the string as "109072"
the main problem is that the number of characters before and after is not the always the same, and there is often letters in the string i want, so it cant be separated by removing all letters and leaving the numbers
Is there any way that this can be done?
Thanks in advance for all help.You must learn to use the Javadoc for the standard classes. You can download it or reference it on line. For example [http://java.sun.com/javase/6/docs/api/java/lang/String.html|http://java.sun.com/javase/6/docs/api/java/lang/String.html].
-
How to Remove Text From Strings ?
Hi,
The question I have is, in the String that I have Pasted below, how can I remove the first line (>gi|23821530|dbj||SEG_D10989S Bos taurus gene for endothelin receptor) and then use the remainder of the text to Post to a web server?
I have tried doing this with a Regex (Pattern P = Pattern.compile("(^>.*)");), I'm able to capture the first line of text, but am not sure how to remove it and then use the rest of the text to Post to the web server.
Any Help with this would be much appreciated
gi|23821530|dbj||SEG_D10989S Bos taurus gene for endothelin receptorGGGATCCCGAGCAAACTGCGGAGGCCACACTGTCAGGCATTCCCTCGGCGTTTCGTCAGAGCCAGACCCT
CCCGCTGCTGAAGGGAGGCGCGCTCTGCTCCCGGGCTGCCGGGAACCCAGCCGCGCGCCGGGGAAGGAGG
TCCCTGCCTGGTGCGTCCGGACCAAGAGGTAACCGTTCTGCTTGGTGTTTAATTCAAATCTGTGATTGAA
CCTTATCCTGGGGCTTCAGTTTGGATTACTTCTTAGGTTTGTTTTTGTTTGTTTGTTTGTTTTTTAACCT
GTAGCTACAGCAGATTAAAATGGGATTGGAGTGAAGGAGAGGGCTTGAGTGTCTGAAGTCACTCGAAGGG
GATAGAAACTTCCGAGTTAATCCAGATAGAGACTCTTCCAAATAGACCAAGTGGAGATGTCCGGGAGATT
TTCCGAGTCAGCCGGCTCAGTCCTGGGGTGTGTGTATGGGGGGTGGGGGCGGTGCCGAAGAGCGGAAGGA
AGGGGTCTGAAAGTCCAGACATGCGGCATCCGGGGTTGCTGTGGAGTCGAAAGCAGAGACTGGCGATGCC
CTTGATCTCTAACCTGCCTTGATTTGCCCCGTCCCCGCGCGCCCTTGGCCAGAACGAATACTGCTCCCTC
TGCGCACACCAGGAGCTCAAAGCTTTGCTTTGGACACCCGTCCTCTCCTCCCCGTCACACCCCTTCCAGGString foo = "gi|23821530|dbj||SEG_D10989S Bos taurus
gene for endothelin receptor";
String totalString = "gi|23821530|dbj||SEG_D10989S Bos
taurus gene for endothelin receptor
GGGATCCCGAGCAAACTGCGGAGGCCACACTGTCAGGCATTCCCTCGGCGTTTCG
CAGAGCCAGACCCT
CCCGCTGCTGAAGGGAGGCGCGCTCTGCTCCCGGGCTGCCGGGAACCCAGCCGCG
GCCGGGGAAGGAGG
TCCCTGCCTGGTGCGTCCGGACCAAGAGGTAACCGTTCTGCTTGGTGTTTAATTC
AATCTGTGATTGAA
CCTTATCCTGGGGCTTCAGTTTGGATTACTTCTTAGGTTTGTTTTTGTTTGTTTG
TTGTTTTTTAACCT
GTAGCTACAGCAGATTAAAATGGGATTGGAGTGAAGGAGAGGGCTTGAGTGTCTG
AGTCACTCGAAGGG
GATAGAAACTTCCGAGTTAATCCAGATAGAGACTCTTCCAAATAGACCAAGTGGA
ATGTCCGGGAGATT
TTCCGAGTCAGCCGGCTCAGTCCTGGGGTGTGTGTATGGGGGGTGGGGGCGGTGC
GAAGAGCGGAAGGA
AGGGGTCTGAAAGTCCAGACATGCGGCATCCGGGGTTGCTGTGGAGTCGAAAGCA
AGACTGGCGATGCC
CTTGATCTCTAACCTGCCTTGATTTGCCCCGTCCCCGCGCGCCCTTGGCCAGAAC
AATACTGCTCCCTC
TGCGCACACCAGGAGCTCAAAGCTTTGCTTTGGACACCCGTCCTCTCCTCCCCGT
ACACCCCTTCCAGG";
int position = -1;
int lenght = -1;
position = totalString.indexOf(foo) + foo.length();
String processedString =
totalString.substring(position);
Thanks for the post,
Did the job perfectly!
cheers again -
Remove tokens from string and sort string via XSLT mapping
Hi,
I have a requirement wherein I need to sort the records in an XML file with customer num & order number.
The value of order number is concatenation of order and item like: 3249_110 , 3249_10, 3290_110,3290_10 and so on.
Expected result:
3249_10
3249_110
3290_10
3290_110
The sort on order number is not giving correct result as its not considering it as an number and the output I am getting is:
3249_110
3249_10
3290_110
3290_10
code used:
<xsl:for-each select="DELIVERYHEADER">
<xsl:sort select="./EXTCUSTOMERNO"/>
<xsl:sort data-type="number" order="ascending" select="/EXTORDERNO"/>
<xsl:copy-of select=".">
</xsl:copy-of>
Please suggest.
Thanks!
Indu KhuranaSource:
<?xml version="1.0" encoding="ISO-8859-1"?>
<ORIONSHIPMENTS>
<TRIP>
<ACTION>I</ACTION>
<SHIFTNO>1</SHIFTNO>
<SEQUENCENO>1</SEQUENCENO>
<DATE>2010-12-20 00:00:00</DATE>
<STARTDATE>2010-12-20 06:00:00</STARTDATE>
<ENDDATE>2010-12-20 14:54:00</ENDDATE>
<TRIPNO>10</TRIPNO>
<TRIPMNEMONIC/>
<DRIVERID>DRIVERORT2</DRIVERID>
<DRIVERNO>DRIVERORT2</DRIVERNO>
<EXTDRIVERNO>12345</EXTDRIVERNO>
<TRUCKID>Truck 01</TRUCKID>
<TRUCKNO>Truck 01</TRUCKNO>
<EXTTRUCKNO>5002053</EXTTRUCKNO>
<TRAILERID>Trailer 2</TRAILERID>
<TRAILERNO>Trailer 2</TRAILERNO>
<EXTTRAILERNO>ORTEC00002</EXTTRAILERNO>
<DELIVERYCT>2</DELIVERYCT>
<LOADCT>1</LOADCT>
<STARTDEPOTNO>GHENT_N</STARTDEPOTNO>
<EXTSTARTDEPOTNO>4020</EXTSTARTDEPOTNO>
<ENDDEPOTNO>GHENT_N</ENDDEPOTNO>
<EXTENDDEPOTNO>4020</EXTENDDEPOTNO>
<STARTLOCATIONNO>GHENT_N</STARTLOCATIONNO>
<EXTSTARTLOCATIONNO>4020</EXTSTARTLOCATIONNO>
<ENDLOCATIONNO>GHENT_N</ENDLOCATIONNO>
<EXTENDLOCATIONNO/>
<ANCILLARYTIME>0</ANCILLARYTIME>
<LOADINGTIME>0</LOADINGTIME>
<DISCHARGETIME>245</DISCHARGETIME>
<DRIVETIME>289</DRIVETIME>
<DISTANCE>0</DISTANCE>
<LOADINGSTARTED>0</LOADINGSTARTED>
<COMMENT/>
<LOAD>
<ACTION>I</ACTION>
<LOADID />
<LOADIDADD />
<SEQUENCENO>0</SEQUENCENO>
<LOADINGDEPOTNO>GHENT_N</LOADINGDEPOTNO>
<EXTLOADINGDEPOTNO>4020</EXTLOADINGDEPOTNO>
<LOADINGPOINT />
<AUTHORISATIONCODE />
<COMPARTMENTTO>
<COMPARTMENTNO>1</COMPARTMENTNO>
<PRODUCTNO>401611</PRODUCTNO>
<EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
<VOLUME>65</VOLUME>
<UOM>LT</UOM>
</COMPARTMENTTO>
</LOAD>
<DELIVERYHEADER>
<ACTION>I</ACTION>
<SEQUENCENO>1</SEQUENCENO>
<ORDERNO>3949_20</ORDERNO>
<EXTORDERNO>3949_201</EXTORDERNO>
<CUSTORDERNO>01.01 Crea</CUSTORDERNO>
<CUSTOMERNO>0050000001</CUSTOMERNO>
<EXTCUSTOMERNO>0050000001</EXTCUSTOMERNO>
<DELIVERYNAME>TEST ORTEC</DELIVERYNAME>
<DELIVERYADDRESS1>Rue de Belgique</DELIVERYADDRESS1>
<DELIVERYADDRESS2/>
<DELIVERYADDRESS3/>
<DELIVERYPOSTCODE/>
<DELIVERYTOWN/>
<DELIVERYCOUNTRY>BE</DELIVERYCOUNTRY>
<INVOICENAME/>
<INVOICEADDRESS1/>
<INVOICEADDRESS2/>
<INVOICEADDRESS3/>
<INVOICEPOSTCODE/>
<INVOICETOWN/>
<INVOICECOUNTRY/>
<PHONENUMBER1/>
<PHONENUMBER2>0</PHONENUMBER2>
<TAXCODE />
<CUSTOMERCOMMENTS>0013</CUSTOMERCOMMENTS>
<DELIVERYCOMMENTS/>
<DOCUMENTTYPE>2</DOCUMENTTYPE>
<DELIVERYWINDOWSTARTDATE>2010-12-20 00:00:00</DELIVERYWINDOWSTARTDATE>
<DELIVERYWINDOWENDDATE>2010-12-20 23:59:00</DELIVERYWINDOWENDDATE>
<DELIVERYLINECT>1</DELIVERYLINECT>
<DELIVERYAUTHORISATIONREQUIRED/>
<CUSTOMERLANGUAGE/>
<CONTACTNAME/>
<COMPANYREFERENCE/>
<CUSTOMERTAXNO/>
<FISCALDELIVERY>0</FISCALDELIVERY>
<PAYMENTMETHOD>0</PAYMENTMETHOD>
<PAYMENTDAYSDUE>999</PAYMENTDAYSDUE>
<CURRENCY/>
<CALLBEFOREDELIVERY>0</CALLBEFOREDELIVERY>
<GEOFENCEDISTANCE>0</GEOFENCEDISTANCE>
<GEOFENCEPHONE/>
<SITEACCESSGRADE/>
<NORMALTAXRATE/>
<SPECIALTAXRATE>0</SPECIALTAXRATE>
<DISCOUNT>0</DISCOUNT>
<SIGNATURECAPTURED/>
<DISTANCELOADINGDEPOT>184</DISTANCELOADINGDEPOT>
<DRIVETIMELOADINGDEPOT>145</DRIVETIMELOADINGDEPOT>
<DISTANCENEXTSTOP>0</DISTANCENEXTSTOP>
<DRIVETIMENEXTSTOP>0</DRIVETIMENEXTSTOP>
<LOADRELEVANT/>
<DELIVERYLINE>
<ACTION>I</ACTION>
<MOVEMENTNO>3949_20001</MOVEMENTNO>
<EXTMOVEMENTNO>3949_20</EXTMOVEMENTNO>
<PRODUCTNO>401611</PRODUCTNO>
<EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
<PLANNEDQTY>20</PLANNEDQTY>
<UOM>LT</UOM>
<PRICEPERUNIT/>
<DISCOUNT/>
<COMMENTS/>
<COMPARTMENTFROM>
<COMPARTMENTNO>1</COMPARTMENTNO>
<VOLUME>0</VOLUME>
<TANKNO>1</TANKNO>
<EXTTANKNO>1</EXTTANKNO>
<TANKID>259454</TANKID>
<TANKLABEL/>
<PRODUCTNO>401611</PRODUCTNO>
<EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
<UOM>LT</UOM>
</COMPARTMENTFROM>
</DELIVERYLINE>
</DELIVERYHEADER>
<DELIVERYHEADER>
<ACTION>I</ACTION>
<SEQUENCENO>2</SEQUENCENO>
<ORDERNO>3949_110</ORDERNO>
<EXTORDERNO>3949_110</EXTORDERNO>
<CUSTORDERNO>01.01 Crea</CUSTORDERNO>
<CUSTOMERNO>0050000001</CUSTOMERNO>
<EXTCUSTOMERNO>0050000001</EXTCUSTOMERNO>
<DELIVERYNAME>TEST ORTEC</DELIVERYNAME>
<DELIVERYADDRESS1>Rue de Belgique</DELIVERYADDRESS1>
<DELIVERYADDRESS2/>
<DELIVERYADDRESS3/>
<DELIVERYPOSTCODE/>
<DELIVERYTOWN/>
<DELIVERYCOUNTRY>BE</DELIVERYCOUNTRY>
<INVOICENAME/>
<INVOICEADDRESS1/>
<INVOICEADDRESS2/>
<INVOICEADDRESS3/>
<INVOICEPOSTCODE/>
<INVOICETOWN/>
<INVOICECOUNTRY/>
<PHONENUMBER1/>
<PHONENUMBER2>0</PHONENUMBER2>
<TAXCODE />
<CUSTOMERCOMMENTS>0013</CUSTOMERCOMMENTS>
<DELIVERYCOMMENTS/>
<DOCUMENTTYPE>2</DOCUMENTTYPE>
<DELIVERYWINDOWSTARTDATE>2010-12-20 00:00:00</DELIVERYWINDOWSTARTDATE>
<DELIVERYWINDOWENDDATE>2010-12-20 23:59:00</DELIVERYWINDOWENDDATE>
<DELIVERYLINECT>1</DELIVERYLINECT>
<DELIVERYAUTHORISATIONREQUIRED/>
<CUSTOMERLANGUAGE/>
<CONTACTNAME/>
<COMPANYREFERENCE/>
<CUSTOMERTAXNO/>
<FISCALDELIVERY>0</FISCALDELIVERY>
<PAYMENTMETHOD>0</PAYMENTMETHOD>
<PAYMENTDAYSDUE>999</PAYMENTDAYSDUE>
<CURRENCY/>
<CALLBEFOREDELIVERY>0</CALLBEFOREDELIVERY>
<GEOFENCEDISTANCE>0</GEOFENCEDISTANCE>
<GEOFENCEPHONE/>
<SITEACCESSGRADE/>
<NORMALTAXRATE/>
<SPECIALTAXRATE>0</SPECIALTAXRATE>
<DISCOUNT>0</DISCOUNT>
<SIGNATURECAPTURED/>
<DISTANCELOADINGDEPOT>184</DISTANCELOADINGDEPOT>
<DRIVETIMELOADINGDEPOT>145</DRIVETIMELOADINGDEPOT>
<DISTANCENEXTSTOP>173</DISTANCENEXTSTOP>
<DRIVETIMENEXTSTOP>144</DRIVETIMENEXTSTOP>
<LOADRELEVANT/>
<DELIVERYLINE>
<ACTION>I</ACTION>
<MOVEMENTNO>3949_110001</MOVEMENTNO>
<EXTMOVEMENTNO>3949_110</EXTMOVEMENTNO>
<PRODUCTNO>401611</PRODUCTNO>
<EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
<PLANNEDQTY>45</PLANNEDQTY>
<UOM>LT</UOM>
<PRICEPERUNIT/>
<DISCOUNT/>
<COMMENTS/>
<COMPARTMENTFROM>
<COMPARTMENTNO>1</COMPARTMENTNO>
<VOLUME>0</VOLUME>
<TANKNO>1</TANKNO>
<EXTTANKNO>1</EXTTANKNO>
<TANKID>259454</TANKID>
<TANKLABEL/>
<PRODUCTNO>401611</PRODUCTNO>
<EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
<UOM>LT</UOM>
</COMPARTMENTFROM>
</DELIVERYLINE>
</DELIVERYHEADER>
</TRIP>
</ORIONSHIPMENTS> -
How to remove the comma from string
Hi,
I Have string like below :
String some1="123,44.22";
I want to remove comma from string and final output should be 12244.22.
public class getOut{
public static void main(String args[]){
String some1="123,44.22";
getChars(int 0,some1.length(),char[] dst,0);
can somebody in the forum give me idea how to remove comma from the String and
have a string without comma.
Thanks
Jackint idx = oldString.indexOf(',');
if(idx >= 0)
newString = oldString.substring(0, idx) + oldString.substring(idx + 1);or for jdk 1.4 and later
str = str.replaceAll(",", ""); -
Help :how to remove spaces in string
could any body please help me in removing spaces from string suppose i have written vivek chhabra and i want to remove spaces in this string and want a string vivekchhabra then how this could be done
anybody help me please
vivekString string = "Hello - This is a test!";
String result = string.replaceAll(" ", "");
System.out.println(result);This code results the following output:
Hello-Thisisatest! -
Removing binary characters/ special chrs from string entered by user
Dear gurus,
I have a string entered by users in database from where i am pulling data into SAP BW.
Th problem is that the string contains binary characters. It is showing error and cant be upoaded
Is there any function module/ code that removes binary data an special chrs from string??
Pls help. thanks.Hi,
U can use the Tcode: RSKC,
to allow the special charecters...
otherwise if u r sure that u r facing only that type of errors..then u can allow the
errors in ERROR HANDLING tab present in the infopackage screen < Update tab
bye,
sunil4points
Maybe you are looking for
-
Hi to everybody, i have a cisco aironet AP1231G-E-K9 and as you are expecting it does not work. The problem is that it has not installed it´s Cisco IOS, the status LED´s are red-green-red which means no ios image. We had it working propertly in a cli
-
Upgrading from 10.6.8 to Yosemite, order of upgrades?
Hi all, I work for a senior college. We currently have a mac running OS X 10.6.8, DeployStudio and Server. What I want to know is the order to upgrade. OS - Server - DeployStudio or Server - OS - DeployStudio etc. etc etc..... I will be performing a
-
I just finished importing a ton of CDs to my laptop and now I find I cannot get the internal speaker volume up past a whisper. Any thoughts? This is barely audible yet is working fine on an external output device via Bluetooth. And, for those of y
-
Anyone have any info on why itunes cannot start? When I attempt to start itunes I get an error message asking if I want to send an error log to Microsoft about the problem. Does anyone have a solution for this problem?
-
Object or text reflections.
I have seen the Keynote presentation by Steave Jobs, I noticed that some objects had a window type reflection on the buttom of the object. Does anybody know how that is done?