/*scan for rank number calculation
/*scan for rank number calculation
type temporary_type =
record
decimal("|") i;
end /* Temporary variable*/;
temp::initialize(in) =
begin
temp.i :: 0;
end;
---------------------------------
let string(",")[] vec =reinterpret_as(string(1)[],in.data);
----------------------------------------------------------------------
out::scan(temp, in) =
begin
out.i :: temp.i + 1;
end;
out::finalize(temp, in) =
begin
out.* :: in.*;
out.rank_nbr :: temp.i;
end;
out :: output_select(out) =
begin
out :: out.rank_nbr == 1;
end;
----------------------------------------
type temporary_type =
record
decimal("|") i;
end /* Temporary variable*/;
temp::initialize(in) =
begin
temp.i :: 0;
end;
---------------------------------
let string(",")[] vectors =reinterpret_as(string(1)[],in.data);
----------------------------------------------------------------------
out::scan(temp, in) =
begin
out.i :: temp.i + 1;
end;
out::finalize(temp, in) =
begin
out.* :: in.*;
out.rank_nbr :: temp.i;
end;
out :: output_select(out) =
begin
out :: out.rank_nbr == 1;
end;
----------------------------------------
STRING FUNCTION String _split : Splits the given string by the specified delimiter. Output of this function will be a vector value. String_split_no_empty: This function behaves as same as string_split function. But only difference is, this function will remove empty strings from the result set. String_index: The function returns the index of the first character in the first occurrence of the string. a. Index numbering of the string starts with 1. b. If the string length is zero, then the functions returns 1. c. If the string is not pres...