Truncate last 2 character formula in PLD
Hi,
Just want to know does anyone know how to truncate last 2 characters formula in PLD? I know the substring formula in PLD is to truncate characters from left, how about from right?
I need to truncate 2 characters from the right for field like Batch No, this field may contain characters and numbers at not fix length. Hope anyone can help soon, thanks.
Hi,
Try this one create a formula and insert the following
Substring(F_791,Length(F_791)-2,Length(F_791))
Thanks.
regards,
Clint
Similar Messages
-
Truncating last character in a string
I am making a dialpad. It is just for display so I am using a
string for the numbers selected. I am trying to make a back button
that would clear the last number added. I tried mystring.length-1
but that doesn't seem to be doing the trick. Is there a simple way
to truncate the last character in a string, of variable
length??Here's an example
var someStr="asdfasdf saf asdf sadfas dfs fsa asf";
while (someStr.length) {
someStr = someStr.substring(0,someStr.length-1)
trace(someStr);
} -
Post Author: bkormoski
CA Forum: Formula
I need to remove 1st and or last character in a string u2013 Example
Original string u201CS45673-08 I need to get u201C45673u201D, I canu2019t use MID because sometimes the string is u201CS437-06 or u201CS2345-08u201Du2026 Any ideas?Post Author: V361
CA Forum: Formula
Do you always strip off the first character, and everything after (and including) the - -
Bi publisher report, data table, column label displays last character
Hello all,
I have created various reports on BI Publisher (win2008 R2 64bit 11g (.1.1.5) version). After altering some access rights, all the reports that include data tables display only the last character of the column label. All the column data is reported correctly.
example:
- TotalNumber -
4234
234
4
became
- r -
4234
234
4
Any ideas about what is going on???
Thank youThanks for the suggestion Simon.
I just created a view based on the 46-column SELECT statement from dual above and then set "SELECT * FROM myview" as the Source Query.
Unfortunately I get exactly the same error.
Thanks,
Andy -
Last Character In Crystal Report cut off when ran via BO web interface
I created a report in Crystal and uploaded it to the Business Objects Web Interface.
On my detail row, the last character is getting cut off regardless of the length of the text. Even short words like "Yes" are losing the last character, and appearing as "Ye", and there is plenty of room available between the right margin.
The column header extends out further with no issues.
Does anyone have a solution for this?Hi Dean,
Try with this:
Go to the following registry sub key:
HKEY_USERS\[your security profile]\Software\Crystal Decisions\10.2\Crystal Reports\Export\Pdf
Right-click the sub key and click New > DWORD Value. Name the DWORD value "ForceLargerFonts" and set it to the value of 1.
Regards,
Shweta -
How can I stop the last character of my password from being displayed?
Sorry, I'm sure this would have been asked before, but I couldn't locate it..
When unlocking my iPad, how can I stop it from displaying the last character of my password to everyone in the vicinity? This has got to be the fastest way to find out someone's password (just look at the screen as they type their 'secure' password!?). Having the iPad display your password letter by letter is really not acceptable when working in a non-secure environment.
Is there a setting somewhere, or will this be addressed in a new iOS, or just ignored as a 'that's the way it is'?
Thanks in advance,
AndyAdventureBear wrote:
Hi,
This may have been the way it has been on iOS since 2008 (not sure about that though), however I know (based on working in the IT industry for 20 years) that nobody on this planet can successfully argue that it would be 'acceptable security practice', for me to display 'every last letter' as I type of a secure 'root' password on my screen every day when you log in... Nobody would think it acceptable to display even their LAN/Domain password on the screen in this same manner. So why is iOS different?!
iOS on a phone (it used to be argued) doesn't need to be very secure as it is almost entirely phone numbers and email addresses that are being stored. However in recent years when the applications got better, and tablets came out, security became a much bigger issue as more and more people started using the functions of 'smart' phones to store more 'sensitive' data.
Kind regards,
Andy
Are you suggesting that someone looking over your shoulder can't see the keys that you're tapping with your fingers? In the interest of security, i would never, under any circumstances, enter a password when others are around. -
Downloading ALV to EXCEL - in some fields the last character is missing ...
Hi,
I am experiencing this kind of problem when downloading ALV report into Excel :-
"You are downloading an ALV result to an EXCEL file. In some fields the last character is missing."
For example, if MATNR is 0000234567 in display but after downloading to excel it becomes only 23456.
I found another related forum thread : Pronlem while downloading ALV grid to excel
I tried the suggested method to apply OSS note 1075315. However, the note cannot be implemented in the system. I am working in a ECC6 environment (SAP version 700, 701).
Kindly please help me if you came across the similar kind of issue. Thanks much.Hi gkGoh8 ,
The link thread that you just gave already provided the answer, in your field catalog you need to activate field lzero.
1. Check FM : REUSE_ALV_GRID_DISPLAY
2. Import Parameter tab :IT_FIELDCAT
3. Double click SLIS_T_FIELDCAT_ALV
4. On type group SLIS, check line 93
Regards,
JQC -
Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?
I use the Tools > Annotate > Add Text feature, and when I click away after adding text, it automatically changes the text box size such that the last letter -- or last word -- gets bumped off into an invisible line below it, forcing me to manually adjust every single text box. It is highly annoying when trying to complete PDF forms (e.g. job applications).
It appears to be a glitch, quite honestly, an error resulting from Apple's product design. Has it been fixed in the new operating system (for which they want $30)?
I would very much appreciate any help you can provide! Thank you for your time.* "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
* "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]] -
Simulation Capture Problem CP4 - last character in text box cut off.
This is somewhat difficult for me to explain, but here is what we are experience. The issue we are having is when capturing a demonstration or simulation of our Windows based form in Captivate 4, occasionally the last character of text in a text box field appears to be cut off unless an extra space is added after the character. However, after advancing to the next field in the capture, the complete text does appear in the previous field. So it is actually capturing the text but for some reason it is not showing on the previous slide capture when that text box is active. We are capturing at a resolution of 1024x768.
Has anyone experienced this behavior? If so what was the solution?
Thank you.
KyleHi Kyle,
Yes, I have seen this one numerous times. Sometimes I find that pressing the Print Screen key after I have finished typing can help ensure that all the characters are captured correcty. Pressing the PrntScn enables you to capture manually and is something that many Captivate users prefer to do rather than rely on Captivate's automatic capture engine.
To be fair, if you own Adobe Captivate 4, then you might find that the new Capture interim screenshot feature (located in the Preferences dialog) might capture all the text for you automatically. Though I have to say that I still prefer to press PrtScn just to be on the safe side.
HTH
Best - Mark -
Character mode report cuts off last character on a line
Reports 9i, Windows 2003 Server. Printing character mode reports to IBM 6400 printer. I have a variable text column (multi line) and randomly the last character on a line gets cutoff. I'm using Courier 10 as my font. It is only 1 character that ever cuts cutoff. Any ideas? I'm desperate.
TomHi,
change the reports height& width for landscape /portait.
and go to edit margin in layout.
see the layout and move to left if it has lot of gap in left side.
we can get correct output if the right side border is upto 8.2.
try with this.
--Basava.s -
Select from table where last character in string is numeric
Hello,
I have a table STREETS with a field called ADDRESS. I would like to select all records from streets where the last character in Address is a number.
Select ADDRESS from STREETS where regexp_like(substr(address, ?,?,), '[0-9]');
--? means that I don't know what to put in here!
I'm not sure if substr is the best approach for this, since i only want the last character and the records are of varying lengths.
Thanks!Hi,
If you want to use regular expressions:
WHERE REGEXP_LIKE ( address
, '[0-9]$'
)You can get the same results, probably more efficiently, without regular expressions:
WHERE INSTR ( '0123456789'
, SUBSTR (address, -1)
) > 0 -
To delete first and last character of a string???
Hi Everybody !!!
Do you know a method that can permit to delete in a string the first and the last character?
For instance I have in my string this word : [the word]
I would like to delete the '[' and the ']' character.
Is exist a method that permit to delete this character?
Thanks !!!Look at the substring method of the String class.
Note that since string is immutable, you'll need to assign the results of substring to a variable (could be the same as the original or different). -
How to delete last character in a string
Guys i have a question...
how can i delete the last character in a string..
for example
String myString = "helloWorld, ";
how do i delete the last character in this string which is a "," ?String newString = myString.substring(0, myString.length()-1);
-
Open Table In Spreadsheet dropping last character
I am using Adobe Acrobat Professional 7.0. When I export a table using the "Open Table In Spreadsheet" or do a cut and paste, the table pastes with the formatting retained, but the last character in each field is replaced with a question mark in a black diamond. Doesn't matter if it is numeric or text. I am using Microsoft Office XP. Does anyone else ever have this problem?
Hi CtDave,
Thanks for the reply.
So a Tagged PDF would export better than an untagged PDF?
It seems if you have an untagged PDF then you can't export well until Adobe X gets here. Any idea when Adobe X will be available?
I referenced this page http://www.planetpdf.com/enterprise/article.asp?ContentID=6067 to give myself an idea about tagged PDFs. -
Documentation on Linking fields and adding formulas on PLDs
Does anyone know of some good docs on Linking fields and adding formulas on PLDs?
Can't seem to find much.
thanksHi Paulo
When I go to that link I get the following message:
Alias not available
The alias SMB/SBO/PLD that you have entered does either not exist,
or you are not authorized to access it.
do you know what this means?
thanks
mike
Maybe you are looking for
-
Merge multiple pdf files into single pdf
How to merge multiple pdf files into single pdf file through any programmatic languages? Kindly share with me. Thanks
-
HT201302 can you download videos not on camera roll from iPad to computer?
i have transferred go pro videos to my iPad however they are not downloading to the computer when i try to import to iPhoto-why wouldn't they show up..? i need these photos on my computer is there any way to get them to the computer-?
-
Iphone 3g 2.1 application lag
is it just me or does anyone else have lag for simple applications like settings, sms and stuff like that? it doesnt happen often..usually its only a few seconds to load but sometimes it takes forever (like over 5 seconds) just to load settings or so
-
I heard that there was a problem with Apple being vulnerable to Hackers. Has anyone seen an update for this issue? My IPad received the update last night but I have not seen anything for Safari.
-
Sql Developer Data Modeler 3.0 EA2: Custom Rules
Hi, I'm trying to write a validation rule that checks that all tables in a relational model exist in at least one subview. However, I can't seem to find a method that gives me a list of the subviews, is there one? Thanks!