How to get last letter of a string in ABAP SAP
In this post, we will learn how to get last letter of a string in ABAP SAP.
1. get the length of the string and subtract 1.
2. use offset to get the letter.
For Example:
Data: String type char20.
Data: lenght type i.
Data: last_letter type c.
Data: last_3_letter type char3.
length = strlen( string ) - 1.
last_letter = string+length(1).
length = length - 2.
last_3_letter = string+length(+3).
alaska airlines Reservations Number
ReplyDeleteallegiant airlines Reservations Number
emirates airlines Reservations Number
hawaiian airlines Reservations Number
jetblue-airlines-customer-service-number
jetblue airways reservations number
klm airlines reservations number
lufthansa airlines reservations number
qatar airways reservations number
spirit airlines reservations number
turkish airlines reservations number
delta airlines customer service number
united airlines reservations number
air canada reservations number
hawaiian airlines customer service Number
ReplyDeletesouthwest airlines customer service Number