find ALL OCCURRENCE OF '/' in wa_string match OFFSET wa_offset. write wa_offset. regards twinkal Reply bpawanchand Active Contributor 2008 Aug 26 10:56 AM 0 Kudos 162 SAP Managed Tags: ABAP Development Hi DATA : w_str TYPE string VALUE 'jhdfsfg/jhgd', w_pos type i....
Finding the nth occurrence of character in string in Excel done by using both the functions “FIND” and “SUBSTITUTE”. The “SUBSTITUTE” function will replace the requested nth instance of the researched character by a special one, and the function “FIND” will get the position of that ...
Find offset of first/last found substring DATA: TEXT TYPE STRING VALUE 'RO_LL_OVER BEET_HOVEN', MOFF TYPE I VALUE '-1'. FIND FIRST OCCURRENCE OF '_' IN TEXT IN CHARACTER MODE IGNORING CASE MATCH OFFSET MOFF. WRITE:/ MOFF. CLEAR MOFF. MOFF = '-1'. FIND ALL OCCURRENCES OF '_' I...
As existing variables that expect a character-like type. As an inline declarationDATA(var), where a variable of typestringis declared. WhenALL OCCURRENCESis used, the last occurrence is evaluated. If there are more operandss1,s2, ... than subgroups, the surplus variables of fixed length are ...